Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ fraction(3F) — CX/UX 6.20

Media Vault

Software Library

Restoration Projects

Artifacts Sought

Related Articles

exponent(3F)

frexp(3C)

fraction(3F)

NAME

fraction − fractional portion of Fortran real variable

SYNOPSIS

real r1, r2
double precision dp1, dp2

r1 = fraction(r1)

dp1 = fraction(dp1)

DESCRIPTION

fraction returns the fractional value of its real or double precision argument as a normalized fraction in the interval [½, 1). 

If the value of the argument is 0.0 then fraction returns 0.0. 

For any argument x the following is true: x = fraction(x) ∗ 2 ∗∗ exponent(x)

SEE ALSO

exponent(3F), frexp(3C). 

CX/UX Hf77 Fortran Reference Manual

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