Re: Floating point in Bash scripts??



Nate Eldredge writes:
The meaning [of arbitrary-precision floating point] seems pretty clear to
me, floating point arithmetic where values can be computed with arbitrary
precision (arbitrary number of digits). The sort of system that would be
suitable for computing pi to 50,000 decimal places.

Arbitrary precision is suitable for that. Normal floating point (IEEE
754-2008) is not.

"Arbitrary-precision arithmetic" might imply integer-only arithmetic.
The sort that would be suitable for computing 2^65536. What does the
term mean to you?

Arbitrary precision arithmetic:
<http://en.wikipedia.org/wiki/Arbitrary_precision>

Floating point:
<http://en.wikipedia.org/wiki/Floating_point>


--
John Hasler
john@xxxxxxxxxx
Dancing Horse Hill
Elmwood, WI USA
.



Relevant Pages

  • Re: Adding floating point numbers
    ... I use it when I'm feeling lazy, such as for computing the correct font height ... certainly see floating point being handy for all kinds of graphical ... precision is necessary. ...
    (microsoft.public.vc.mfc)
  • Re: Announcing Intel Fortran Compilers 9.0
    ... precision up only because it's natural for 64 bit computing. ... so that 64 bit floating point data can be loaded or stored in one bus cycle. ... It is also possible that 64 bit processors are slightly more efficient moving data to and from memory, which can also help 64 bit floating point. ...
    (comp.lang.fortran)
  • Re: Precision
    ... Whether one does the subsequent calculations in internal ie integer format ... I have always used external format with Precision 4 since my ... floating point calcs which are done in binary have around 3% error albeit at ... positions it is IMPOSIBLE to have a result of 4 decimals with the 2 ...
    (comp.databases.pick)
  • Re: Linear Algebra Challenge
    ... Since I'm using floating point, so I'll never be able to calculate one ... floating point math set to 99 digits. ... As close as I'm willing to wait if I use arbitrary precision. ... This mode is fast; when you select arbitry ...
    (comp.sys.hp48)
  • Re: Floating point environment
    ... In all functions like fetestexcept, for instance, it is assumed that there is only one floating point environment ... one for double precision ... the 64 bit format and another for the 80 bit format. ... All versions of SSE use a status/control word separate from the main FPU, however, so they can indeed be considered a separate environment. ...
    (comp.std.c)