Annotation of researchv10dc/man/adm/man3/floor.3, revision 1.1.1.1

1.1       root        1: .TH FLOOR 3M
                      2: .CT 2 math
                      3: .SH NAME
                      4: fabs, fmod, floor, ceil \(mi absolute value, remainder, floor, ceiling functions
                      5: .SH SYNOPSIS
                      6: .nf
                      7: .B #include <math.h>
                      8: .PP
                      9: .B double floor(x)
                     10: .B double x;
                     11: .PP
                     12: .B double ceil(x)
                     13: .B double x;
                     14: .PP
                     15: .B double fabs(x)
                     16: .B double x;
                     17: .PP
                     18: .B double fmod(x,y)
                     19: .B double x, y;
                     20: .nf
                     21: .SH DESCRIPTION
                     22: .I Fabs
                     23: returns the absolute value
                     24: .RI | \|x\| |.
                     25: .PP
                     26: .I Floor
                     27: returns the
                     28: largest integer
                     29: not greater than
                     30: .IR x .
                     31: .PP
                     32: .I Ceil
                     33: returns the
                     34: smallest integer
                     35: not less than
                     36: .IR x .
                     37: .PP
                     38: .I Fmod
                     39: returns
                     40: .I x
                     41: if
                     42: .I y
                     43: is zero, otherwise the number
                     44: .I f
                     45: with the same sign as
                     46: .IR x ,
                     47: such that
                     48: .I "x = iy + f"
                     49: for some integer
                     50: .IR i ,
                     51: and
                     52: .RI | \|f\| |
                     53: <
                     54: .RI | \|x\| |.
                     55: .SH SEE ALSO
                     56: .IR arith (3),
                     57: .IR frexp (3)

unix.superglobalmegacorp.com

This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.