Linux and UNIX Man Pages

Linux & Unix Commands - Search Man Pages

ilogbd128(3m) [hpux man page]

ilogbd64(3M)															      ilogbd64(3M)

NAME
ilogbd64(), ilogbd128(), ilogbd32() - decimal exponent functions SYNOPSIS
DESCRIPTION
The function computes the exponent of the floating point value x. Formally, the return value is the integral part of log base 10 of |x| as a signed integer value, for nonzero x. If x is subnormal, it is treated as though it were normalized, before the exponent is determined. is equivalent to for all values of x is a version of it takes a argument. is a version of it takes a argument. These math functions are supported for HP-UX 11i Version 3 September 2008 Update and forward. USAGE
To use any of these functions, compile with the option. Make sure your program defines and then includes Link in the math library by specifying or on the linking command line. For more information, see the at the following site: RETURN VALUE
If x returns and raises the invalid floating-point exception. If x is zero, returns and raises the invalid floating-point exception. If x is NaN, returns and raises the invalid floating-point exception. ERRORS
If x is NaN, sets to If x is zero or infinite, sets to SEE ALSO
frexpd64(3M), logbd64(3M), scalbnd64(3M), scalblnd64(3M), math(5). STANDARDS CONFORMANCE
These functions conform to ISO/IEC TR 24732, "Extension for the programming language C to support decimal floating-point arithmetic". HP Integrity Server Only ilogbd64(3M)

Check Out this Related Man Page

ilogbd64(3M)															      ilogbd64(3M)

NAME
ilogbd64(), ilogbd128(), ilogbd32() - decimal exponent functions SYNOPSIS
DESCRIPTION
The function computes the exponent of the floating point value x. Formally, the return value is the integral part of log base 10 of |x| as a signed integer value, for nonzero x. If x is subnormal, it is treated as though it were normalized, before the exponent is determined. is equivalent to for all values of x is a version of it takes a argument. is a version of it takes a argument. These math functions are supported for HP-UX 11i Version 3 September 2008 Update and forward. USAGE
To use any of these functions, compile with the option. Make sure your program defines and then includes Link in the math library by specifying or on the linking command line. For more information, see the at the following site: RETURN VALUE
If x returns and raises the invalid floating-point exception. If x is zero, returns and raises the invalid floating-point exception. If x is NaN, returns and raises the invalid floating-point exception. ERRORS
If x is NaN, sets to If x is zero or infinite, sets to SEE ALSO
frexpd64(3M), logbd64(3M), scalbnd64(3M), scalblnd64(3M), math(5). STANDARDS CONFORMANCE
These functions conform to ISO/IEC TR 24732, "Extension for the programming language C to support decimal floating-point arithmetic". HP Integrity Server Only ilogbd64(3M)
Man Page

4 More Discussions You Might Find Interesting

1. Programming

C programming - Urgent help required

Hi, I am writing a small 'C' program to add very large floating point numbers. Now the program should be capable of adding the maximum floating point number that is possible on Sun Solaris machine. Can some let me know whether there is any extra logic that needs to applied for making sure... (2 Replies)
Discussion started by: kkumar1975
2 Replies

2. Shell Programming and Scripting

BASH: floating point exception

Hi, guys, today, I have copied a simple script which runs correctly on a computer to another one. But, the latter informs me: Floating point exception! @ ./command_module a b c where command_module is the module compiled by myself. So, I have fixed it by following steps: 1.... (5 Replies)
Discussion started by: mapleleaves
5 Replies

3. Shell Programming and Scripting

PERL- converting exponent value to floating point

Hi Friends, I've an exponent value like, $val="9.57669e-05"; I want to convert this value to floating point value in PERL scripting. I tried googling for the solution, and also asked many perl friends. Unfortunately, I didn't get answer. Could you please help me? Thanks in advance... (4 Replies)
Discussion started by: ganapati
4 Replies

4. Shell Programming and Scripting

Script to raise a integer by a exponent (while loop)

I am trying to write a script that raises a integer (m) by a exponent (n) using a while loop ex. 5 raised to the power of 2 .. I am a beginner and i dont know what is the opperand or command i have to use to make this happen..this is what i have so far... echo "Enter a integer for the... (3 Replies)
Discussion started by: jibz
3 Replies