From mboxrd@z Thu Jan 1 00:00:00 1970 Received: (qmail 28546 invoked from network); 26 May 1999 18:58:52 -0000 Received: from mail.redhat.com (199.183.24.239) by lists.redhat.com with SMTP; 26 May 1999 18:58:52 -0000 Received: from eagle.cs.rose-hulman.edu (eagle.cs.rose-hulman.edu [137.112.40.22]) by mail.redhat.com (8.8.7/8.8.7) with ESMTP id OAA05294 for ; Wed, 26 May 1999 14:16:40 -0400 Received: from raptor.rose-hulman.edu (raptor [137.112.40.3]) by eagle.cs.rose-hulman.edu (8.9.3/8.9.3) with SMTP id NAA13439 for ; Wed, 26 May 1999 13:16:08 -0500 (EST) Received: by raptor.rose-hulman.edu (SMI-8.6/SMI-SVR4) id NAA03594; Wed, 26 May 1999 13:16:07 -0500 Date: Wed, 26 May 1999 13:16:07 -0500 From: donaldlf@cs.rose-hulman.edu (Leslie F. Donaldson) Message-Id: <199905261816.NAA03594@raptor.rose-hulman.edu> To: axp-list@redhat.com Subject: Re kernel math question Hello, I was recently banging around on some code and got the following: Program received signal SIGSEGV, Segmentation fault. 0x40129848 in __sin (x=0.049087343749999998) at ../sysdeps/libm-ieee754/s_sin.c:66 ../sysdeps/libm-ieee754/s_sin.c:66: No such file or directory. Current language: auto; currently c (gdb) Continuing. Signal 11 received Which according the source is: 61 /* High word of x. */ 62 GET_HIGH_WORD(ix,x); 63 64 /* |x| ~< pi/4 */ 65 ix &= 0x7fffffff; 66 if(ix <= 0x3fe921fb) return __kernel_sin(x,z,0); 67 68 /* sin(Inf or NaN) is NaN */ 69 else if (ix>=0x7ff00000) return x-x; 70 71 /* argument reduction needed */ 72 else { 73 n = __ieee754_rem_pio2(x,y); But this is as far as I got. Anyone have a suggestion as to where to go from hee? Thanks Leslie Donaldson /----------------------------\ Current Contractor: Onsite Engineering | Leslie F. Donaldson | Current Customer : Entergy - Nuclear GGNS | Computer Contractor | Skills: Unix/OS9/VMS/Linux/SUN-OS/C/C++/assembly | Have Computer will travel. | Curr : http://www.cs.rose-hulman.edu/~donaldlf \----------------------------/ Current Email : donaldlf@cs.rose-hulman.edu Goth Code V1.1: GoCS$$ TYg(T6,T9) B11Bk!^1 C6b-- P0(1,7) M+ a24 n--- b++:+ H6'11" g m---- w+ r+++ D--~!% h+ s10 k+++ R-- Ssw LusCA++