frexpd64(3M)frexpd64(3M)NAME
frexpd64(), frexpd128(), frexpd32() - extract mantissa and exponent from decimal floating-point numbers
SYNOPSIS DESCRIPTION
The function breaks a decimal floating-point number into a normalized decimal fraction f and an integral power of 10. It returns f and
stores the integer exponent of 10 in the object pointed to by exp. The fraction f is a with magnitude in the interval [0.1, 1) or zero,
and value equals f times 10 raised to the power *exp.
is a version of it takes a first argument and returns a result.
is a version of it takes a first argument and returns a result.
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 value is zero, returns value and stores zero in the object pointed to by exp.
If value is NaN, returns NaN, and the value of *exp is unspecified.
If value returns value, and the value of *exp is unspecified.
These functions raise no exceptions.
ERRORS
No errors are defined.
SEE ALSO ilogbd64(3M), ldexpd64(3M), logbd64(3M), modfd64(3M), scalblnd64(3M), scalbnd64(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 frexpd64(3M)
Check Out this Related Man Page
frexpd64(3M)frexpd64(3M)NAME
frexpd64(), frexpd128(), frexpd32() - extract mantissa and exponent from decimal floating-point numbers
SYNOPSIS DESCRIPTION
The function breaks a decimal floating-point number into a normalized decimal fraction f and an integral power of 10. It returns f and
stores the integer exponent of 10 in the object pointed to by exp. The fraction f is a with magnitude in the interval [0.1, 1) or zero,
and value equals f times 10 raised to the power *exp.
is a version of it takes a first argument and returns a result.
is a version of it takes a first argument and returns a result.
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 value is zero, returns value and stores zero in the object pointed to by exp.
If value is NaN, returns NaN, and the value of *exp is unspecified.
If value returns value, and the value of *exp is unspecified.
These functions raise no exceptions.
ERRORS
No errors are defined.
SEE ALSO ilogbd64(3M), ldexpd64(3M), logbd64(3M), modfd64(3M), scalblnd64(3M), scalbnd64(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 frexpd64(3M)
Hi,
I wrote a small program to find 2 to the power of 3,
when I tried to execute the following error occured.
How can I solve this problem?
$ cat t1.c
#include <math.h>
#include<stdio.h>
main()
{
int a=2;
int b=3;
int c;
c = a ^ b; /* if i use ** instead of ^ also the same problem... (2 Replies)
Hi,
I'm new to unix so hopefully you can help!
I'm using the below command to extract a tables contents and store it in a dmp file:
exp OWNER/OWNER@LINK FILE=exp.dat TABLES=TABLE_TEST
This works fine and dumps the table into the exp.dat file.
What i can't figure out, is how to... (3 Replies)
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)
Hi Guys,
I got stuck to a a point where I need to find the value for (4 to the power of -2 upto 8 places after decimal ....
4^(-2) ; the result I need is upto 8 places after decimal.
How is that possible?
Thanks a lot!! (2 Replies)