#11 lgamma function in mingw

closed
Earnie Boyd
None
1
2002-08-05
2002-05-03
No

Hi,

I've installed your MINGW project and now I can see
that some default functions from the libraries are
either not called the same or simply not supported.

For example, the program I'm tryng to compile uses the
lgamma() function which is located in the math.h
library under most Unix/Linux gcc releases. It
doesn't seem to be supported when using the mingw
project (error: "implicit declaration of function `int
lgamma(...)'" when compiling).

What should I do to have access to this function
(which is a little complicated to recode completely).

Thanks a lot in advance, Stephane.
scharbonneau@galileogenomics.com

Discussion

  • Danny Smith
    Danny Smith
    2002-05-05

    Logged In: YES
    user_id=11494

    That and many other math functions are in the Cephes
    library.
    See:
    http://www.moshier.net/

    lgamma is not an ANSI function and IMO doesn't belong in
    the runtime. The Cephes lib would be a useful package
    though.

    Danny

     
  • Earnie Boyd
    Earnie Boyd
    2002-08-05

    • priority: 5 --> 1
    • assigned_to: nobody --> earnie
    • status: open --> closed