modf(3M)modf(3M)NAME
modf(), modff(), modfl(), modfw(), modfq() - decompose floating-point number
SYNOPSIS
HP Integrity Server Only
DESCRIPTION
The function breaks the argument x into integral and fractional parts, each of which has the same sign as the argument. It stores the
integral part as a in the object pointed to by iptr.
Integrity Server Only
is a version of it takes and arguments and returns a result.
is a version of it takes and arguments and returns a result.
is an version of it takes and arguments and returns an result.
is equivalent to on HP-UX systems.
USAGE
To use (for Integrity servers) compile either with the default option or with the option.
To use (for Integrity servers) 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 VALUE
returns a result with the same sign as x.
in the object pointed to by iptr.
stores a NaN in the object pointed to by iptr and returns a NaN.
ERRORS
No errors are defined.
SEE ALSO frexp(3M), ldexp(3M), rint(3M), trunc(3M), scalb(3M), scalbln(3M), scalbn(3M), math(5).
STANDARDS CONFORMANCE
: SVID3, XPG4.2, ANSI C, ISO/IEC C99 (including Annex F, ``IEC 60559 floating-point arithmetic'')
: ISO/IEC C99 (including Annex F, ``IEC 60559 floating-point arithmetic'')
modf(3M)
Check Out this Related Man Page
frexp(3M)frexp(3M)NAME
frexp(), frexpf(), frexpl(), frexpw(), frexpq() - extract mantissa and exponent from floating-point number
SYNOPSIS
HP Integrity Server Only
DESCRIPTION
The function breaks a floating-point number into a normalized fraction and an integral power of 2. It stores the integer exponent in the
object pointed to by exp.
Integrity Server Only
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.
is an version of it takes an first argument and returns an result. is equivalent to on HP-UX systems.
USAGE
To use (for Integrity servers) compile either with the default option or with the option.
To use (for Integrity servers) compile either with the default option or with the and options.
To use (for Integrity servers) or compile also with the option.
To use any of 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 VALUE
The function returns the value x, such that x is a with magnitude in the interval [0.5, 1] or zero, and value equals x times 2 raised to
the power *exp.
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 ilogb(3M), ldexp(3M), logb(3M), modf(3M), scalb(3M), scalbln(3M), scalbn(3M), math(5).
STANDARDS CONFORMANCE
: SVID3, XPG4.2, ANSI C, ISO/IEC C99 (including Annex F, ``IEC 60559 floating-point arithmetic'')
: ISO/IEC C99 (including Annex F, ``IEC 60559 floating-point arithmetic'')
frexp(3M)
Hi
I just want to clean up the space in UNIX. Is there any special command that does this process or do I need to manually type the following
rm <filename>
Any help would be really appreciated. Thanks (2 Replies)
Hi,
I have variable called fname that has the value M201401151630_P008949.csv.txt
I need to grep and store this in a variable called prcid for the number before ".csv" and the letter "P" excluding all zeros in the beginning.
Desired output 8949
Likewise for M201401151630_P108949.csv.txt... (12 Replies)
Hi Team ,
I have one Master.sh file which call X,Y,Z scripts ,
but here X may call again some sub scripts X_sub1.sh , X_sub2.sh
Y calls Y_sub1.sh,Y_sub2.sh and similarly Z script also .
Now requirement is Both X and Y should execute parallel bcz X and Y are independent... (9 Replies)
Hi friends,
i need a command which can be used to change the values in file.
I have file which contain some values.
Data_Center_costing=XXXX
Financial_loss=XXXX
operational_cost=XXX
I am not aware about the values of XXXX, They may be 4 digit or less/more than that. but i need these... (12 Replies)
Hall0 Team,
I need you help. I have a .csv file called Pax.csv. It has 13 fields
The fields that i am interested in is field 7, field 10(CallDuration),field 12 and field 13(TelkomAsif)
Field 12(Cost) is affected by what is on field 7(CallType)
if field7= VoIS Community Sharecall then Cost... (14 Replies)
Hi 2 ALL,
try to run NFS Server in AIX 7.1 :
1. Step by step on NFS Server node
mkdir /tmp/test
chgrp staff /tmp/test
chmod 775 /tmp/test-- create export directory (fs)
mknfsexp -d /tmp/test -t ro
exportfs -va
show mount -e
:/# exportfs -av
exports: 1831-187 re-exported /tmp/test... (4 Replies)
Hello,
I have some data that looks like the following,
> <SALTDATA> (OVS0199262)
HCl
> <IDNUMBER> (OVS0199262)
OVS0199262
> <SUPPLIER> (OVS0199262)
TimTec
> <EMAIL> (OVS0199262)
info@timtec.net
> <WEBSITE> (OVS0199262)
http://www.timtec.net
I need to remove the data in... (3 Replies)
So i am trying to read in file
readFile <GivenFile> modFile
looking for a regular file under the directories in the GivenFile and print them out is my over all goal.
basically I am looking for anything that looks like a directory in the given file and printing it out.
Since I am trying to do... (2 Replies)
Hello.
In an informix context, on AIX 5.3 TL 12, we encounter this problem :
Sometimes in the day (probably when users exits from their session), a child process lose its parent (PPID is now "1") and this child is consumming lot of CPU "USER".
I tried, on different cases, "truss -p... (4 Replies)
Hi
We meet errors while running configuration scripts to prepare compiling source code on AIX 7.2. This error does not happen on AIX5.3 and AIX6.1
With the “/usr/bin/sh” from AIX7.2, sometimes , the script runs sucessfully, sometimes not. It’s unstable, and I don’t know why.
When... (10 Replies)
Hi All,
I am having a strange issue. Below is the code snippet. If I print fraction * (double)::pow((double)10,scalingFactor) which is a double I am getting 154 when I type cast that to int as (int)( ((fraction) * ((double)::pow((double)10,scalingFactor)))) it is becoming 153. Not sure why... (0 Replies)