[erlang-questions] C interface, NaN and infinity

David Welton davidnwelton@REDACTED
Mon Dec 15 17:56:13 CET 2014

I started working on what might be a fix for this, here:


It's a little bit more complicated than I'd hoped for, since it's
necessary to link against libm:

LD /home/davidw/workshop/otp/lib/erl_interface/bin/x86_64-unknown-linux-gnu/erl_call
In function `ei_encode_double':
undefined reference to `__fpclassify'
collect2: error: ld returned 1 exit status

... and I'm not quite sure how to do that within the Erlang
compilation framework (it's been ages since I've worked with configure
and friends).

Also, there are docs and the test suite to fix too.

David N. Welton



More information about the erlang-questions mailing list