RE: [Linux-ia64] avoiding float underflow software assist

From: Saxena, Sunil <>
Date: 2000-10-10 02:23:24
Hi Pete,
I have copied Marius who should be able to help answer your question.

-----Original Message-----
From: Pete Wyckoff []
Sent: Monday, October 09, 2000 8:12 AM
Subject: [Linux-ia64] avoiding float underflow software assist

This little code snippet causes floating-point underflow during the

        float f, g;
	f = 1.3e-23;
	g = f * f;

The kernel handler catches the fault and fixes it up, but that's quite

Is there a way to have the hardware automatically ignore this condition
and force the result to zero on its own?

I've tried playing with fesetround() and fesetenv() to see if I could
manage it, to no avail.

kernel 2.4.0-test9
Turbolinux 000828 distro
B0 stepping hw

		-- Pete

Linux-IA64 mailing list
Received on Mon Oct 09 08:24:46 2000

This archive was generated by hypermail 2.1.8 : 2005-08-02 09:20:00 EST