[erlang-questions] C interface, NaN and infinity

Björn-Egil Dahlberg <>
Fri Dec 5 18:01:50 CET 2014


Explain more please. How did you send a NaN to the beam?

NaN are not allowed as a float in erlang terms.

// Björn-Egil

On 2014-12-05 17:45, David Welton wrote:
> Hi,
>
> One of our C++ guys was getting bad term errors from the Erlang VM
> when he was passing around a NaN.
>
> Would it make sense for the C library to error out on attempts to
> encode one of those?
>



More information about the erlang-questions mailing list