Basic HTML version of Foils prepared October 2 1998

Foil 18 Other Floating Point Issues

From Java Grande (a.k.a. Java for High Performance Computing) in a Nutshell Sun MicroSystems Java Day at MIT (Marriot Hotel Cambridge MA) -- Sept 25 1998. by Geoffrey C. Fox


s = s + a(i)*b(i) on x86 requires that one stores and restores both a(i)*b(i) and s to memory after arithmetic. There is clever way of using exception trap to speed up.
Indigenous type would specify most precise floating point representation allowed by hardware
anonymous double would imply all intermediate results implemented using double precision (original C standard)
anonymous indigenous would instruct compiler to use extended double precision on x86 chips for all computations -- whatever type of variable



© Northeast Parallel Architectures Center, Syracuse University, npac@npac.syr.edu

If you have any comments about this server, send e-mail to webmaster@npac.syr.edu.

Page produced by wwwfoil on Sat Nov 28 1998