[erlang-bugs] math:exp() erlang bug on SPARC

Matt Keenan matt.keenan@REDACTED
Wed Apr 13 15:46:39 CEST 2016


Hi,

Just wanted to report a SPARC specific issue with Erlang.

See discussions:
   https://github.com/rabbitmq/rabbitmq-server/issues/132
   https://groups.google.com/forum/#!topic/rabbitmq-users/Gca8vW52gB8

Only happens on SPARC systems does not occur on X86 architecture.
e.g.:

On s11u3 x86:
1> math:exp(-1162.102134881488).
0.0

On s11u3 SPARC:
1> math:exp(-1162.102134881488).
** exception error: an error occurred when evaluating an arithmetic 
expression in function math:exp/1 called as math:exp(-1162.102134881488)

Both systems are running 64-bit Erlang 17.5 in a 64-bit environment.

Has an issue related to this been posted before ?

cheers

Matt



More information about the erlang-bugs mailing list