Emil Jerabek wrote:
The following patch to p/rts/math.pas solves these problems (I hope it doesn't introduce others).
Before I look closer into the routine (I'm quite short of time at the moment), one remark:
function Log1P (x: Real): Real; asmname 'log1p';
According to the manpage:
: CONFORMING TO : BSD
So this function might not be available everywhere, and we need a replacement for other systems. Can you please provide one (written in Pascal)? I can deal with autoconf then (i.e., checking if the function is available and using the replacement if not).
Frank