POV-Ray : Newsgroups : povray.unix : Some notes about Cygwin/MinGW compilation : Re: Some notes about Cygwin/MinGW compilation Server Time
19 May 2024 07:30:37 EDT (-0400)
  Re: Some notes about Cygwin/MinGW compilation  
From: ABX
Date: 4 Nov 2002 13:13:09
Message: <boddsugr9s288l537t0nrvia0a26fhh5r6@4ax.com>
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

Copyright 2003-2023 Persistence of Vision Raytracer Pty. Ltd.