modff 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 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]

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

NAME
modf, modff, modfl — extract signed integral and fractional values from
floating-point number

LIBRARY
Math Library (libm, -lm)

SYNOPSIS
#include <math.h>

double
modf(double value, double *iptr);

float
modff(float value, float *iptr);

long double
modfl(long double value, long double *iptr);

DESCRIPTION
The modf(), modff(), and modfl() functions break the argument value into
integral and fractional parts, each of which has the same sign as the
argument.	It stores the integral part as a floating point number in the
object pointed to by iptr.

RETURN VALUES
These functions return the signed fractional part of value.

frexp(3), ldexp(3), math(3)

STANDARDS
The modf(), modff(), and modfl() functions conform to ISO/IEC 9899:1999
(“ISO C99”).

BSD				March 29, 2008				   BSD
```
[top]

List of man pages available for FreeBSD

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