Commits

arkdro  committed 450b211

add runtime parameters for generating random decimals

  • Participants
  • Parent commits 2ebc4ae

Comments (0)

Files changed (1)

File erlang/test/test.config

 %%-*- mode: erlang -*-
 %% vi: filetype=erlang ts=4 expandtab
 
-%% {verbose, 0}.
-{odeci_node, 't2@localhost.localdomain'}.
+{verbose, 0}.
+%% {odeci_node, 't2@localhost.localdomain'}.
 {odeci_prog, 't1.sh'}. %% relative to priv/
-{length, 1024}. %% length of test sequence
-{test_app_config, "test_data"}.
+
+{length, 10000}. %% length of test sequence
+
+%% random sign for decimals
+{random_sign, true}.
+
+%% random exponent for decimals, min, max.
+{random_exponent, true}.
+{exponent_min, -10}.
+{exponent_max, 10}.
+
+%% random mantissa for decimals, min, max.
+{random_mantissa, true}.
+{mantissa_min, 0}.
+{mantissa_max, 999999999999999999999999999999999999999999999999999999}.
+