Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ ceiling(3F) — CX/UX 6.20

Media Vault

Software Library

Restoration Projects

Artifacts Sought

Related Articles

floor(3F)

ceil(3M)

ceiling(3F)

NAME

ceiling − largest integer not less than real value

SYNOPSIS

real r1, r2
double precision dp1, dp2

r1 = ceiling(r1)

dp1 = ceiling(dp1)

DESCRIPTION

ceiling returns the largest integer (as a real or double precision number) not less than its real or double precision argument. 

ceiling(3.4) returns 4.0
ceiling(-3.4) returns -3.0

SEE ALSO

floor(3F), ceil(3M). 

CX/UX Hf77 Fortran Reference Manual

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