By downloading this code you agree to the
Source Code Use License (PDF). |
{ version = 1.00; (* of exponentmax.p 2006 Nov 20}
(* begin module describe.exponentmax *)
(*
name
exponentmax: determine the largest argument of the exp() function
synopsis
exponentmax(output: out)
files
output: messages to the user
description
At some value of x, exp(-x) is too large for a particular computer.
Determine the value. The program will crash at that point.
examples
For the GPC compiler on a SunBlade 2000,
exponentmax 1.00
x = 1, exp(-x) = 3.679e-01
x = 2, exp(-x) = 1.353e-01
x = 3, exp(-x) = 4.979e-02
...
x = 743, exp(-x) = 1.98e-323
x = 744, exp(-x) = 9.88e-324
x = 745, exp(-x) = 4.94e-324
./exponentmax: error in exponentiation (Result too large) (error #700 at 180f3)
documentation
see also
higa.p
author
Thomas Dana Schneider
bugs
technical notes
*)
(* end module describe.exponentmax *)
{This manual page was created by makman 1.45}
{created by htmlink 1.62}