[erlang-questions] erlang float comparison
Tue May 15 12:02:51 CEST 2012
On Tue, May 15, 2012 at 11:04 AM, Angel J. Alvarez Miguel <> wrote:
> The problem can be stated as:
> Result = case Myfloat > 1.0 of
> true -> 1.0;
> false MyFloat
> after that we came across some values that fail to pass the test > 1.0 but are seen
> as greater to the math:acos function rendering a bad arithmetic expression error
If true, this indicates a serious bug. You should report such cases.
I am somewhat skeptical that such a gross bug would lie undetected so
far in erlang, so please supply an actual reproducible example.
More information about the erlang-questions