Re: Trig functions from math.h

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Les Howell wrote:
> I have some older code that used to compile, which I wish to reuse and
> maybe redesign.  However the code is C and uses the sinf function, which
> seems to have disappeared from math.h.  Can anyone tell me where this
> has gone?  The man pages no longer return the sinf function, Info pages
> say that it should be in either math.h or complex.h, but it is not.  The
> either math.h needs some modification (dated Sep 26 this year), and the
> man pages need updating, or the new function needs to be named,
> supported and the information on the Info pages needs to be updated.
> But in the interim, what is a work around?  Please don't tell me I have
> to code a trig function.

#define _DEFAULT_SOURCE or pass -D_DEFAULT_SOURCE to gcc.

        Kevin Kofler

-- 
devel mailing list
devel@xxxxxxxxxxxxxxxxxxxxxxx
https://admin.fedoraproject.org/mailman/listinfo/devel
Fedora Code of Conduct: http://fedoraproject.org/code-of-conduct





[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Fedora Announce]     [Fedora Kernel]     [Fedora Testing]     [Fedora Formulas]     [Fedora PHP Devel]     [Kernel Development]     [Fedora Legacy]     [Fedora Maintainers]     [Fedora Desktop]     [PAM]     [Red Hat Development]     [Gimp]     [Yosemite News]
  Powered by Linux