[erlang-questions] Mystery float binary matching

Michael Uvarov <>
Wed Jun 27 20:15:38 CEST 2012


Hi,

What is the problem with this code?


1> <<_/native-float>> = <<0,0,0,0,0,0,240,255>>.
** exception error: no match of right hand side value <<0,0,0,0,0,0,240,255>>

2> <<_/native-float>> = <<0,0,0,0,0,0,0,0>>.
<<0,0,0,0,0,0,0,0>>


-- 
Best regards,
Uvarov Michael



More information about the erlang-questions mailing list