From: springstead <spr...@co...> - 2002-03-05 06:41:22
|
>From: "Mikael Aronsson" <mik...@te...> >To: "Nicolas Weber" <nic...@gm...>, <min...@li...> >Subject: Re: [Mingw-users] sinf() >Date: Mon, 4 Mar 2002 16:16:47 +0100 > >MSDN says that sinf is included with all version of the runtime libraries, >so it should be in msvcrt.dll I think.... > >Mikael Oops, on further investigation it appears all they really did was use the sin() function and cast it to float. (I checked both crtdll.dll and msvcrt.dll with a hex editor and didn't find sinf(), yet it is listed in VC's math.h header). so... float sinf(float x) { return (float)sin(x); } |