in reply to [C Question] Determine if gcc provides erfl() function
The help for erfl on my linux box says this :-
Feature Test Macro Requirements for glibc (see feature_test_macros( +7)): erf(): _BSD_SOURCE || _SVID_SOURCE || _XOPEN_SOURCE || _ISOC99_SOU +RCE || _POSIX_C_SOURCE >= 200112L; or cc -std=c99 erff(), erfl(): _BSD_SOURCE || _SVID_SOURCE || _XOPEN_SOURCE >= 600 || _ISO +C99_SOURCE || _POSIX_C_SOURCE >= 200112L; or cc -std=c99
so feature_test_macros is where it's at :)
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: [C Question] Determine if gcc provides erfl() function
by syphilis (Archbishop) on May 29, 2015 at 02:17 UTC | |
by Anonymous Monk on May 29, 2015 at 04:21 UTC | |
by RichardK (Parson) on May 29, 2015 at 09:26 UTC | |
by Anonymous Monk on May 29, 2015 at 20:15 UTC |