float32, float64?

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

My request is simple.  Improve the type below.
I don't think I should have to convert the value to a float32
sequence and back just to see if the stored value is accurate.

    I know that float64 is as accurate as I can get.  I don't
want to store numbers as float64 if I can accurately store
them as float32.

  Thanks in advanced for your assistance.

type float32(atom a)
  return (a = float32_to_atom(atom_to_float32(a)))
end type

        Lucius L. Hilley III
        lhilley at cdc.net   lucius at ComputerCafeUSA.com
+----------+--------------+--------------+----------+
| Hollow   | ICQ: 9638898 | AIM: LLHIII  | Computer |
|  Horse   +--------------+--------------+  Cafe'   |
| Software | http://www.cdc.net/~lhilley |  USA     |
+----------+-------+---------------------+----------+
                   | http://www.ComputerCafeUSA.com |
                   +--------------------------------+

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

Search



Quick Links

User menu

Not signed in.

Misc Menu