frexp man page on FreeBSD

 Man page or keyword search:   man All Sections 1 - General Commands 2 - System Calls 3 - Subroutines, Functions 4 - Special Files 5 - File Formats 6 - Games and Screensavers 7 - Macros and Conventions 8 - Maintenence Commands 9 - Kernel Interface New Commands Server 4.4BSD AIX Alpinelinux Archlinux Aros BSDOS BSDi Bifrost CentOS Cygwin Darwin Debian DigitalUNIX DragonFly ElementaryOS Fedora FreeBSD Gentoo GhostBSD HP-UX Haiku Hurd IRIX Inferno JazzOS Kali Knoppix LinuxMint MacOSX Mageia Mandriva Manjaro Minix MirBSD NeXTSTEP NetBSD OPENSTEP OSF1 OpenBSD OpenDarwin OpenIndiana OpenMandriva OpenServer OpenSuSE OpenVMS Oracle PC-BSD Peanut Pidora Plan9 QNX Raspbian RedHat Scientific Slackware SmartOS Solaris SuSE SunOS Syllable Tru64 UNIXv7 Ubuntu Ultrix UnixWare Xenix YellowDog aLinux   9747 pages apropos Keyword Search (all sections) Output format html ascii pdf view pdf save postscript
[printable version]

```FREXP(3)		 BSD Library Functions Manual		      FREXP(3)

NAME
frexp, frexpf, frexpl — convert floating-point number to fractional and
integral components

LIBRARY
Math Library (libm, -lm)

SYNOPSIS
#include <math.h>

double
frexp(double value, int *exp);

float
frexpf(float value, int *exp);

long double
frexpl(long double value, int *exp);

DESCRIPTION
The frexp(), frexpf() and frexpl() functions break a floating-point num‐
ber into a normalized fraction and an integral power of 2.	 They store
the integer in the int object pointed to by exp.

RETURN VALUES
These functions return the value x, such that x is a double with magni‐
tude in the interval [1/2, 1) or zero, and value equals x times 2 raised
to the power *exp.	 If value is zero, both parts of the result are zero.

ldexp(3), math(3), modf(3)

STANDARDS
The frexp(), frexpf(), and frexpl() functions conform to ISO/IEC
9899:1999 (“ISO C99”).

BSD				 March 4, 2005				   BSD
```
[top]