[erlang-questions] floating point exception when accuracy exceeds limit
Tue Jan 20 11:26:38 CET 2015
This might be no news to anyone who is doing a lot of floating point
arithmetics but it made me scratch my head.
** exception error: an error occurred when evaluating an arithmetic
in operator */2
called as 6.0e154 * 6.0e154
Hmm, would it not be better to answer with the highest possible accuracy?
Assoc. Prof. Johan Montelius
Software and Computer Systems
School of Information and Communication Technology
KTH - Royal Institute of Technology
More information about the erlang-questions