Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ ceil(3m) — DG/UX 4.30

Media Vault

Software Library

Restoration Projects

Artifacts Sought

Related Articles

abs(3C)



     floor(3m)                  DG/UX 4.30                   floor(3m)



     NAME
          floor, ceil, fmod, fabs - floor, ceiling, remainder,
          absolute value functions

     SYNOPSIS
          #include <math.h>

          double floor (x)
          double x;

          double ceil (x)
          double x;

          double fmod (x, y)
          double x, y;

          double fabs (x)
          double x;

     DESCRIPTION
          floor returns the largest integer (as a double-precision
          number) not greater than x.

          ceil returns the smallest integer not less than x.

          fmod returns the floating-point remainder of the division of
          x by y:  x if y is zero or if x/y would overflow; otherwise
          the number f with the same sign as x, such that x = iy + f
          for some integer i, and | f| <| y|.

          fabs returns the absolute value of x, | x|.

     SEE ALSO
          abs(3C).





















     Licensed material--property of copyright holder(s)         Page 1



Typewritten Software • bear@typewritten.org • Edmonds, WA 98026