Re: float32, float64?

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

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

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

Search



Quick Links

User menu

Not signed in.

Misc Menu