Status of floating point arithmetic in Java?

R

Robert Dodier

Hello,

Several years ago William Kahan, well-known in numerical analysis,
criticized Java's rules for floating point operations.
e.g. http://www.cs.berkeley.edu/~wkahan/JAVAhurt.pdf

What is the status of Java's (as expressed in Java 1.5 or 1.6)
rules for floating point operations? Have the rules been adjusted
since the original spec to address Kahan's remarks,
or for any other reason?

Thanks a lot for any light you can shed on this question.

Robert Dodier
 
T

Twisted

What is the status of Java's (as expressed in Java 1.5 or 1.6)
rules for floating point operations? Have the rules been adjusted
since the original spec to address Kahan's remarks,
or for any other reason?

You might want to look into "strictfp".
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,774
Messages
2,569,596
Members
45,143
Latest member
DewittMill
Top