*nix Documentation Project
·  Home
 +   man pages
·  Linux HOWTOs
·  FreeBSD Tips
·  *niX Forums

  man pages->OpenBSD man pages -> modf (3)              
Title
Content
Arch
Section
 

MODF(3)

Contents


NAME    [Toc]    [Back]

     modf - extract signed integral and  fractional  values  from
floating-point
     number

SYNOPSIS    [Toc]    [Back]

     #include <math.h>

     double
     modf(double value, double *iptr);

DESCRIPTION    [Toc]    [Back]

     The  modf() function breaks 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 double in the object pointed to by iptr.

RETURN VALUES    [Toc]    [Back]

     The modf() function returns the signed  fractional  part  of
value.

SEE ALSO    [Toc]    [Back]

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

STANDARDS    [Toc]    [Back]

     The  modf()  function  conforms  to ANSI X3.159-1989 (``ANSI
C'').

OpenBSD      3.6                           June      4,      1993
[ Back ]
 Similar pages
Name OS Title
modf Linux extract signed integral and fractional values from floatingpoint number
modf NetBSD extract signed integral and fractional values from floating-point number
modf FreeBSD extract signed integral and fractional values from floating-point number
frexp OpenBSD convert floating-point number to fractional and integral components
frexp Linux convert floating-point number to fractional and integral components
frexp FreeBSD convert floating-point number to fractional and integral components
frexp NetBSD convert floating-point number to fractional and integral components
CL_CertGetAllTemplateFields Tru64 Extract and return values stored in CertTemplate (CDSA)
CSSM_CL_CertGetAllTemplateFields Tru64 Extract and return values stored in CertTemplate (CDSA)
CSSM_CL_CertVerify Tru64 Verify a signed certificate (CDSA)
Copyright © 2004-2005 DeniX Solutions SRL
newsletter delivery service