File:  [CSRG BSD Unix] / 43BSD / contrib / icon / man / cat3 / math.3
Revision 1.1.1.1 (vendor branch): download - view: text, annotated - select for diffs
Tue Apr 24 16:12:55 2018 UTC (8 years, 1 month ago) by root
Branches: MAIN, BSD
CVS tags: HEAD, BSD43
BSD 4.3




MATH(3.icon)          Icon Program Library           MATH(3.icon)



NNNNAAAAMMMMEEEE
     exp, log, log10, sqrt - miscellaneous math functions

SSSSYYYYNNNNOOOOPPPPSSSSIIIISSSS
     eeeexxxxpppp((((xxxx))))
     lllloooogggg((((xxxx))))
     lllloooogggg11110000((((xxxx))))
     ssssqqqqrrrrtttt((((xxxx))))

DDDDEEEESSSSCCCCRRRRIIIIPPPPTTTTIIIIOOOONNNN
     eeeexxxxpppp returns _exxxx.

     lllloooogggg returns the natural logarithm of xxxx.

     lllloooogggg11110000 returns the base-10 logarithm of xxxx.

     ssssqqqqrrrrtttt returns the square root of xxxx.

     The C math library (----llllmmmm )must be loaded with these func-
     tions.

DDDDIIIIAAAAGGGGNNNNOOOOSSSSTTTTIIIICCCCSSSS
     Run-time error 251 occurs if xxxx is zero or negative in lllloooogggg or
     lllloooogggg11110000.

     Run-time error 252 occurs for overflow in eeeexxxxpppp.

SSSSEEEEEEEE AAAALLLLSSSSOOOO
     exp(3m)

AAAAUUUUTTTTHHHHOOOORRRRSSSS
     Ralph E. Griswold























Version 5.9    The University of Arizona - 8/12/84              1




unix.superglobalmegacorp.com

This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.