float vs double speed

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • Phil...

    float vs double speed

    Does anyone have any data comparing the speed
    of java double vs. float operations? According to a
    document I found on the Intel site, hardware
    support for 64 bit floating point was not added
    until the SSE2 Extensions on the Pentium IV and
    Xenon processors. I have the el cheapo Intel Celeron.
    (It reminds me of being on a diet and eating celery.)


  • Wiseguy

    #2
    Re: float vs double speed

    On the wall of the virtual bathroom stall, "Phil..." <rynes@ieee.org > scratches:[color=blue]
    > Does anyone have any data comparing the speed
    > of java double vs. float operations? According to a
    > document I found on the Intel site, hardware
    > support for 64 bit floating point was not added
    > until the SSE2 Extensions on the Pentium IV and
    > Xenon processors. I have the el cheapo Intel Celeron.
    > (It reminds me of being on a diet and eating celery.)[/color]

    On 32 bit processors the float will be faster if you assume that your
    particular JVM uses native hardware floting point operations. JAVA itself
    makes no guarantee that the type is handled by native operations though.

    -Wiseguy


    Comment

    Working...