exp2(3M) exp2(3M)[top]NAMEexp2(), exp2f(), exp2l(), exp2w(), exp2q() - base-2 exponential func‐ tionsSYNOPSISHP Integrity Server OnlyDESCRIPTIONreturns Integrity System Only is a version of it takes a argument and returns a result. is a version of it takes a argument and returns a result. is an version of it takes an argument and returns an result. is equivalent to on HP-UX systems.USAGETo use these functions, compile either with the default option or with the and options. To use (for Integrity servers) or compile also with the option. To use these functions, make sure your program includes and link in the math library by specifying on the compiler or linker command line. For more information, see the at the following site:RETURN VALUEreturns 1. If x is +INFINITY, returns +INFINITY. If x is −INFINITY, returns zero. If x is NaN, returns NaN. returns infinity (equal to in lieu of a value whose magnitude is too large, and raises the overflow and inexact exceptions. raises the underflow and inexact exceptions whenever a result is tiny (essentially denormal or zero) and thereby suffers loss of accuracy, and may raise those exceptions if the result is merely tiny. raises the inexact exception whenever a rounded result does not equal the mathematical result.ERRORSIntegrity Server Only If the correct value would overflow, sets to [ERANGE]. HP-UX functions on Integrity servers do not set by default. For set‐ ting, compile with the option.SEE ALSOcbrt(3M), exp(3M), exp10(3M), expm1(3M), log2(3M), pow(3M), sqrt(3M), math(5).STANDARDS CONFORMANCE: ISO/IEC C99 (including Annex F, ``IEC 60559 floating-point arith‐ metic'') exp2(3M)

List of man pages available for

Copyright (c) for man pages and the logo by the respective OS vendor.

For those who want to learn more, the polarhome community provides shell access and support.

[legal] [privacy] [GNU] [policy] [cookies] [netiquette] [sponsors] [FAQ]

Polar

Member of Polar

Based on Fawad Halim's script.

....................................................................

Vote for polarhome |