gcl-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Gcl-devel] Re: [Maxima] Bugs in gcl cause maxima build failures


From: Camm Maguire
Subject: Re: [Gcl-devel] Re: [Maxima] Bugs in gcl cause maxima build failures
Date: 22 May 2002 15:26:32 -0400

Greetings!

OK, thanks to everyone's help, this seems to now be in order:

=============================================================================
intech19:~/gcl/gcl-2.5.0$ unixport/saved_gcl
GCL (GNU Common Lisp)  Version(2.5.0) Wed May 22 15:08:01 EDT 2002
Licensed under GNU Library General Public License
Contains Enhancements by W. Schelter

>(setf r least-positive-short-float)

1.401298S-45

>(integer-decode-float r)

1
-149
1

>(setf r least-positive-normalized-short-float)

1.175494S-38

>(integer-decode-float r)

8388608
-149
1

>(setf r least-positive-long-float)

4.9406564584124654E-324

>(integer-decode-float r)

1
-1074
1

>(setf r least-positive-normalized-long-float)

2.2250738585072014E-308

>(integer-decode-float r)

4503599627370496
-1074
1

>(bye)
=============================================================================

Please know that the old values of the previously-supported
unnormalized constants *have changed* and may affect your code
accordingly.  You can just use the normalized constants instead to
reproduce the earlier behavior.

Take care,

Richard Fateman <address@hidden> writes:

>   The answers from Allegro CL
> 
> (integer-decode-float least-positive-double-float)
> 1
> -1074
> 1
> cl-user(258): (integer-decode-float least-positive-normalized-double-float)
> 4503599627370496
> -1074
> 1
>   cl-user(259): (integer-decode-float 
> least-positive-normalized-single-float)
> 8388608
> -149
> 1
>   cl-user(260): (integer-decode-float least-positive-single-float)
> 1
> -149
> 1
> 
> 
> So the least-positive-single-float is the unnormalized number that is
> quite a bit smaller than the least-positive-normalized-single-float.
> RJF
> 
> 
> 
> 
> 

-- 
Camm Maguire                                            address@hidden
==========================================================================
"The earth is but one country, and mankind its citizens."  --  Baha'u'llah



reply via email to

[Prev in Thread] Current Thread [Next in Thread]