scalb man page on HP-UX

Man page or keyword search:  
man Server   10987 pages
apropos Keyword Search (all sections)
Output format
HP-UX logo
[printable version]

scalb(3M)							     scalb(3M)

       scalb(),	 scalbf(),  scalbl(), scalbw(), scalbq() - scale exponent of a
       radix-independent floating-point number

   HP Integrity Server Only
       The function returns where r is the radix of  the  machine's  floating-
       point  arithmetic.   The	 radix	r  is  2  on all PA-RISC and Integrity

   Integrity Server Only
       is a version of it takes arguments and returns a result.

       is a version of it takes arguments and returns a result.

       is an version of it takes arguments and returns an result.

       is equivalent to on HP-UX systems.

       To 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.

       Make  sure your program includes Link in the math library by specifying
       on the compiler or linker command line.

       and are equivalent.

       If y returns x.

       If x is +0 and y is +INFINITY, returns a NaN  and  raises  the  invalid

       If x is +0 and y is an integer less than +INFINITY, returns +0.

       If  x  is +INFINITY and y is an integer greater than −INFINITY, returns

       If x is finite and positive-signed and y is −INFINITY, returns +0.

       If x is positive and y is +INFINITY, returns +INFINITY.

       If x is +INFINITY and y is −INFINITY, returns a NaN.

       If x or y is NaN, returns a NaN.

       returns a properly signed infinity 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.

       If the correct value would overflow or underflow, sets to [ERANGE].

   Integrity Server Only
       HP-UX  functions	 on Integrity servers do not set by default.  For set‐
       ting, compile with the option.

       scalbn(3M), scalbln(3M), ilogb(3M), ldexp(3M), logb(3M), math(5).

       : ISO/IEC C99 (including Annex F,  ``IEC	 60559	floating-point	arith‐


List of man pages available for HP-UX

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]
Polarhome, production since 1999.
Member of Polarhome portal.
Based on Fawad Halim's script.
Vote for polarhome
Free Shell Accounts :: the biggest list on the net