math:exp() erlang bug on SPARC

Matt Keenan <[email protected]> Wed, 13 Apr 2016 14:46:39 +0100
Newsgroups gmane.comp.lang.erlang.bugs
Message-ID <[email protected]>
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
_______________________________________________
erlang-bugs mailing list
[email protected]
http://erlang.org/mailman/listinfo/erlang-bugs