opendarwin man page for fmodf

Query: fmodf

OS: opendarwin

Section: 3

Format: Original Unix Latex Style Formatted with HTML and a Horizontal Scroll Bar

FMOD(3) 						   BSD Library Functions Manual 						   FMOD(3)

NAME
fmod -- floating-point remainder function
SYNOPSIS
#include <math.h> double fmod(double x, double y); float fmodf(float x, float y);
DESCRIPTION
The fmod() and fmodf() functions compute the floating-point remainder of x/ y. Specifically, the functions return the value x-i*y, for some integer i such that, if y is non-zero, the result has the same sign as x and magnitude less than the magnitude of y.
SPECIAL VALUES
fmod(+-0, y) returns +-0 for y not zero. fmod(x, y) returns a NaN and raises the "invalid" floating-point exception for x infinite or y zero. fmod(x, +-infinity) returns x for x not infinite.
SEE ALSO
math(3)
STANDARDS
The fmod() and fmodf() functions conform to ISO/IEC 9899:1999(E).
BSD
November 20, 2002 BSD
Related Man Pages
fmod(3) - mojave
fmodf(3) - mojave
remainder(3) - osf1
fmod(3) - osx
fmodl(3) - osx
Similar Topics in the Unix Linux Community
PHP Write Man Pages to MySQL DB
Undeletable file
Shopt -s histappend