8 bit signed float possible?
Fri Jun 16 16:43:55 CEST 2006
I'm trying to construct an eight bit signed float in binary format:
Float = 3.14.
Bin = <<Float:8/signed-float>>.
This only give badarg error. Is 8 bits too small for a float? Manual says default is 64 bits, but I cant find info on minimum.
This e-mail and any attachment is for authorised use by the intended recipient(s) only. It may contain proprietary material, confidential information and/or be subject to legal privilege. It should not be copied, disclosed to, retained or used by, any other party. If you are not an intended recipient then please promptly delete this e-mail and any attachment and all copies and inform the sender. Thank you.
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the erlang-questions