Skip to content

Instantly share code, notes, and snippets.

@jlouis
Created May 15, 2018 19:22
Show Gist options
  • Save jlouis/1f613cfe82c8ef7f7e88a0b147dbd0e0 to your computer and use it in GitHub Desktop.
Save jlouis/1f613cfe82c8ef7f7e88a0b147dbd0e0 to your computer and use it in GitHub Desktop.
Oddity, continued
Eshell V9.3 (abort with ^G)
(eqc@127.0.0.1)1> <<F:64/float>> = <<128,0,0,0,0,0,0,0>>.
<<128,0,0,0,0,0,0,0>>
(eqc@127.0.0.1)2> G = 0.0.
0.0
(eqc@127.0.0.1)3> F.
0.0
(eqc@127.0.0.1)4> G.
0.0
(eqc@127.0.0.1)5> F == G.
true
(eqc@127.0.0.1)6> F = G.
0.0
(eqc@127.0.0.1)7> term_to_binary(F) == term_to_binary(G).
false
(eqc@127.0.0.1)8>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment