|
|
ABX wrote:
>
> 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
No, just use:
#define NEED_INVHYP 1
:-)
Christoph
--
POV-Ray tutorials, include files, Sim-POV,
HCR-Edit and more: http://www.tu-bs.de/~y0013390/
Last updated 02 Nov. 2002 _____./\/^>_*_<^\/\.______
Post a reply to this message
|
|