Open alvoskov opened 2 weeks ago
The mathematical library doesn't contain such functions as erf or lgamma (they are required by C99 standard). E.g. such program doesn't compile. The functions prototypes are present in the header files but are not implemented.
#include "stdio.h" #include "math.h" int main() { printf("%g\n", exp(1.0)); printf("%g\n", exp(lgamma(4.0))); }
occ /9 a.c
Error: Undefined External 'lgamma' in module a.c
yeah i was lazy about lgamma.... the last math implementation I got didn't have it and I never looked for a replacement. Will see what I can do....
The mathematical library doesn't contain such functions as erf or lgamma (they are required by C99 standard). E.g. such program doesn't compile. The functions prototypes are present in the header files but are not implemented.
occ /9 a.c
Error: Undefined External 'lgamma' in module a.c