DataMuseum.dk

Presents historical artifacts from the history of:

ICL Comet 32

This is an automatic "excavation" of a thematic subset of
artifacts from Datamuseum.dk's BitArchive.

See our Wiki for more about ICL Comet 32

Excavated with: AutoArchaeologist - Free & Open Source Software.


top - metrics - download

⟦138f73c60⟧ TextFile

    Length: 1081 (0x439)
    Types: TextFile
    Notes: UNIX file
    Names: »exp.3m«

Derivation

└─⟦26887b7e0⟧ Bits:30009717 Comet 32 harddisk image
    └─⟦28c352965⟧ »/a« UNIX Filesystem
        └─⟦this⟧ »usr/man/man3/exp.3m« 

TextFile

.ig
	@(#)exp.3m	2.1	7/1/84
	@(#)Copyright (C) 1983 by National Semiconductor Corp.
..
.TH EXP 3M 
.SH NAME
exp, log, log10, pow, sqrt \- exponential, logarithm, power, square root
.SH SYNOPSIS
.nf
.B #include <math.h>
.PP
.B double exp(x)
.B double x;
.PP
.B double log(x)
.B double x;
.PP
.B double log10(x)
.B double x;
.PP
.B double pow(x, y)
.B double x, y;
.PP
.B double sqrt(x)
.B double x;
.fi
.SH DESCRIPTION
.I Exp
returns the exponential function of 
.I x.
.PP
.I Log
returns the natural logarithm of 
.IR x ;
.I log10
returns the base 10 logarithm.
.PP
.I Pow
returns
.I  x\u\s8y\s10\d.
.PP
.I Sqrt
returns the square root of 
.I x.
.SH SEE ALSO
hypot(3),
sinh(3),
intro(2)
.SH DIAGNOSTICS
.I Exp
and
.I pow
return a huge value when the correct value would
overflow;
.I errno
is set to ERANGE.
.I Pow
returns 0 and sets
.I errno
to
EDOM when the second argument is negative and non-integral and
when
both arguments are 0.
.PP
.I Log
returns 0 when
.I x
is zero or negative;
.I errno
is set to EDOM.
.PP
.I Sqrt
returns 0 when 
.I x
is negative;
.I errno
is set to EDOM.