|
|
1.1 ! root 1: The new floating point library consists of 5 files which define 8 functions. ! 2: The files and functions are: ! 3: ! 4: atand.c: atan(arg), atan2(arg1, arg2) ! 5: expd.c: exp(arg) ! 6: logd.c: log(arg), log10(arg) ! 7: sind.c: sin(arg), cos(arg) ! 8: sqrtd.c: sqrt(arg) ! 9: ! 10: These files are archived in a library called 'libM.a'. Therefore, to use ! 11: any of these functions, the user must specify '-lM' option to 'ld(1)' as ! 12: in: ! 13: ! 14: cc c.c -lM ! 15: ! 16: Note that, the standard library has some additional functions that are not ! 17: available in the new library. Therefore, to compile the programs that use ! 18: those functions from the standard library, one must specify: ! 19: ! 20: cc c.c -lM -lm ! 21: ! 22: The order of appearance of '-lM' and '-lm' options is important. If '-lM' ! 23: is not specified before '-lm' none of the functions in 'libM.a' will be ! 24: loaded since they are all available in 'libm.a' also.
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.