|
|
On Sat, 02 Nov 2002 16:25:45 +0100, Christoph Hormann <chr### [at] gmxde>
wrote:
> I don't know if the
> plain MinGW works as well but there could be tools missing required by the
> configure script etc.
Oh, I forgot one thing more. There are missed asinh, acosh and atanh functions
in plain MinGW. I had to add somewhere:
#if defined( __MINGW32__ ) && defined( MINGW_MISSED_FEATURES_PATCH )
inline DBL asinh(DBL val){return (DBL)log(val+sqrt(val*val+1));}
inline DBL acosh(DBL val){return (DBL)log(val+sqrt(val-1.0)*sqrt(val+1.0));}
inline DBL atanh(DBL val){return (DBL) 1/2*log(val+1)-1/2*log(1-val);}
#endif
ABX
Post a reply to this message
|
|