"Florian Weimer" a �crit dans le message news: 874rs0pwbk.fsf@deneb.enyo.de... > "Jean-Pierre Rosen" writes: > > >> Yes, I think so. Some people claim that the JVM support for floating > >> point operations was designed so that it runs fast and correctly only > >> on Sun's hardware. ;-) > > > What makes you think so ? The trouble is that Java *requires* IEEE > > arithmetic. > > A particular incarnation of it. For example, you can't use x86 80 bit > extended precision floating point operations with the JVM. OTOH, > there is some double-extended-exponent type, and I would be suprised > if no SPARC processor implemented it. ;-) There is much more in IEEE arithmetic than the format of numbers. You have to support NaNs, infinities, and a lot of other stuff. And of course, when I'm talking about adhering to a standard, I meant 100%. Being 95% conformant is sooooo much easier! Ask Ada compiler vendors. (and the defunct Artek compiler, that never made it from 95% to 100%) -- --------------------------------------------------------- J-P. Rosen (rosen@adalog.fr) Visit Adalog's web site at http://www.adalog.fr