aboutsummaryrefslogtreecommitdiffstats
path: root/lib/erl_interface/test
diff options
context:
space:
mode:
authorLukas Larsson <[email protected]>2013-09-02 17:27:58 +0200
committerLukas Larsson <[email protected]>2014-02-24 10:26:07 +0100
commita3af5f4a5c4568225ef91ee4493da6bf659f7161 (patch)
treeab9b66d21a8398cae65428609acffb1cdd5d4dbe /lib/erl_interface/test
parent502b13aaf568e351bc30e44d0e14c063cbf5fc5a (diff)
downloadotp-a3af5f4a5c4568225ef91ee4493da6bf659f7161.tar.gz
otp-a3af5f4a5c4568225ef91ee4493da6bf659f7161.tar.bz2
otp-a3af5f4a5c4568225ef91ee4493da6bf659f7161.zip
erts: Set default external enc to use new float scheme
This change was triggered by the OSE float printing function not working exactly the same way as linux/win32. But it is also a good one in general as it cuts size in more than half for floats.
Diffstat (limited to 'lib/erl_interface/test')
-rw-r--r--lib/erl_interface/test/ei_decode_SUITE_data/ei_decode_test.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/erl_interface/test/ei_decode_SUITE_data/ei_decode_test.c b/lib/erl_interface/test/ei_decode_SUITE_data/ei_decode_test.c
index a676e59470..3f6cbbe186 100644
--- a/lib/erl_interface/test/ei_decode_SUITE_data/ei_decode_test.c
+++ b/lib/erl_interface/test/ei_decode_SUITE_data/ei_decode_test.c
@@ -603,9 +603,9 @@ TESTCASE(test_ei_decode_misc)
/*
EI_DECODE_0(decode_version);
*/
- EI_DECODE_2(decode_double, 32, double, 0.0);
- EI_DECODE_2(decode_double, 32, double, -1.0);
- EI_DECODE_2(decode_double, 32, double, 1.0);
+ EI_DECODE_2(decode_double, 9, double, 0.0);
+ EI_DECODE_2(decode_double, 9, double, -1.0);
+ EI_DECODE_2(decode_double, 9, double, 1.0);
EI_DECODE_2(decode_boolean, 8, int, 0);
EI_DECODE_2(decode_boolean, 7, int, 1);