Penguin
Annotated edit history of fmod(3) version 1, including all changes. View license author blame.
Rev Author # Line
1 perry 1 FMOD
2 !!!FMOD
3 NAME
4 SYNOPSIS
5 DESCRIPTION
6 RETURN VALUE
7 ERRORS
8 CONFORMING TO
9 SEE ALSO
10 ----
11 !!NAME
12
13
14 fmod - floating-point remainder function
15 !!SYNOPSIS
16
17
18 __#include
19 __ ''x''__, double__ ''y''__);
20 __
21 !!DESCRIPTION
22
23
24 The __fmod()__ function computes the remainder of
25 dividing ''x'' by ''y''. The return value is ''x''
26 - ''n'' * ''y'', where ''n'' is the quotient of
27 ''x'' / ''y'', rounded towards zero to an
28 integer.
29 !!RETURN VALUE
30
31
32 The __fmod()__ function returns the remainder, unless
33 ''y'' is zero, when the function fails and ''errno''
34 is set.
35 !!ERRORS
36
37
38 __EDOM__
39
40
41 The denominator ''y'' is zero.
42 !!CONFORMING TO
43
44
45 SVID 3, POSIX, BSD 4.3, ISO 9899
46 !!SEE ALSO
47
48
49 drem(3)
50 ----
This page is a man page (or other imported legacy content). We are unable to automatically determine the license status of this page.