blob: 0a3d3b26d6395c7ae9406556f30fce473c9dc3c6 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
|
# Copyright(c) 1986 Association of Universities for Research in Astronomy Inc.
# AELOGD -- Inverse of the elogd function.
double procedure aelogd (x)
double x
begin
if (x > 1.0D0)
return (10.0D0 ** x)
else if (x >= -1.0D0)
return (x * 10.0D0)
else
return (- (10.0D0 ** (-x)))
end
|