Non reentrant floating point functions?

Rasmus Bo Sørensen
Fri Mar 13 10:00:00 GMT 2015


I just started using the floating point functions of newlib on an
embedded multicore processor that we are developing at the Technical University of Denmark.
I am puzzled about the "#ifndef _REENT_ONLY"  in line 125 of 'newlib/libc/include/math.h'.
Are the functions in lines 127 - 138 not meant to be reentrant?
And in this case what is it that makes them non-reentrant?

Best regards,

More information about the Newlib mailing list