I found the following problem while trying to compile xeyes:
the following program gives a floating point exception:
#include <math.h>
#include <stdio.h>
#define PI 3.1415926535
main () {
double t;
for (t=0;t<10;t++) {
printf (
"T=%lf, sqrt(t)=%lf, sin (t) = %lf, cos (t) = %lf hypot (t,5)=%lf.\n",
t,sqrt (t),sin (t*PI/180),cos (t*PI/180),hypot (5.0,t));
}
}
This comes from the hypot function. xeyes (by default) also uses hypot,
and crashes similarly.
Am I using the wrong libraries or is there really a problem.
( I found hypot.s, which looks ok to me, but then again, I'm not that
familiar with assembly language coprocessor programming.)
Roger
--
If the opposite of "pro" is "con", what is the opposite of "progress"?
(stolen from kadokev@iitvax.iit.edu, who got it from brydon@asl.sinet.slb.com)
EMail: wolff@duteca.et.tudelft.nl ** Tel +31-15-783644 or +31-15-142371
| Linus Torvalds | Re: [PATCH 00/23] per device dirty throttling -v8 |
| Andi Kleen | [PATCH x86] [0/16] Various i386/x86-64 changes |
| serge | Re: 2.6.25-rc5-mm1 |
| Kamalesh Babulal | [BUG] Linux 2.6.25-rc2 - Kernel Ooops while running dbench |
git: | |
| Francis Moreau | Track /etc directory using Git |
| Abdelrazak Younes | Git-windows and git-svn? |
| Johan Herland | Re: People unaware of the importance of "git gc"? |
| Scott Chacon | git-scm.com |
| GVG GVG | ssh_exchange_identification: Connection closed by remote host |
| Richard Stallman | Real men don't attack straw men |
| Florin Andrei | firewall is very slow, something's wrong |
| qw er | OpenBSD sucks |
| David Miller | xfrm_state locking regression... |
| David Miller | [GIT]: Networking |
| Thomas Jarosch | Re: TCP connection stalls under 2.6.24.7 |
| Dave Jones | Re: odd RTL8139 quirk. |
