Re: float32, float64?

new topic     » goto parent     » topic index » view thread      » older message » newer message

> ---------------------- Information from the mail
header -----------------------
> Sender:       Euphoria Programming for MS-DOS
<EUPHORIA at LISTSERV.MUOHIO.EDU>
> Poster:       Bernie Ryan <bwryan at PCOM.NET>
> Subject:      Re: float32, float64?
> --------------------------------------------------------------------------
-----
>
> On Fri, 19 Nov 1999 12:51:05 -0500, Lucius L. Hilley III <lhilley at CDC.NET>
> wrote:
>
> >    My request is simple.  Improve the type below.
>
>   Lucius: Can't you do this ?
>
> --
> global
> type float( atom val)
>   if ( val >= -3.4E38 and val <= 3.4E38 ) then return 1 else return 0 end
if
> end type
> --
> --
> global
> type double( atom val)
>   if ( val >= -1.7E308 and val <= 1.7E308 ) then return 1 else return 0
end
> if
> end type
> --
>
>    Bernie
>

    I can now. :)  Thank you.  I didn't know the exact values.
I figured at least 1 of about 200 minds would know.

        Lucius L. Hilley III
        lhilley at cdc.net
+----------+--------------+--------------+
| Hollow   | ICQ: 9638898 | AIM: LLHIII  |
|  Horse   +--------------+--------------+
| Software | http://www.cdc.net/~lhilley |
+----------+-----------------------------+

new topic     » goto parent     » topic index » view thread      » older message » newer message

Search



Quick Links

User menu

Not signed in.

Misc Menu