aboutsummaryrefslogtreecommitdiffstats
path: root/lib/asn1
diff options
context:
space:
mode:
authorJohannes Weißl <[email protected]>2013-06-14 15:23:40 +0200
committerJohannes Weißl <[email protected]>2013-06-14 15:25:12 +0200
commit55d6274f67cafe62e4923a6369c99a45822cb767 (patch)
tree4256573feaf7b3698616e5b537a2460673fdaa71 /lib/asn1
parent5dd13b1efead2a8101ff1fb46937fbfa00db5269 (diff)
downloadotp-55d6274f67cafe62e4923a6369c99a45822cb767.tar.gz
otp-55d6274f67cafe62e4923a6369c99a45822cb767.tar.bz2
otp-55d6274f67cafe62e4923a6369c99a45822cb767.zip
Fix external term format BIFs on floating point middle-endian machines
This complements 933e701 (OTP-10209). Simple error example: 1> <<131,70,63,240,0,0,0,0,0,0>> = term_to_binary(1.0, [{minor_version,1}]). ** exception error: no match of right hand side value <<131,70,0,0,0,0,63,240,0,0>> 2> 1.0 = binary_to_term(<<131,70,63,240,0,0,0,0,0,0>>). ** exception error: no match of right hand side value 5.299808824e-315 But roundtrip always works: 3> 1.0 = binary_to_term(term_to_binary(1.0, [{minor_version,1}])). 1.0
Diffstat (limited to 'lib/asn1')
0 files changed, 0 insertions, 0 deletions