Red Hat axp-list: Linux on Alpha (1995-2022)
 help / color / mirror / Atom feed
From: donaldlf@cs.rose-hulman.edu (Leslie F. Donaldson)
To: axp-list@redhat.com
Subject: Re kernel math question
Date: Wed, 26 May 1999 13:16:07 -0500	[thread overview]
Message-ID: <199905261816.NAA03594@raptor.rose-hulman.edu> (raw)

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++


             reply	other threads:[~1999-05-26 18:58 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1999-05-26 18:16 Leslie F. Donaldson [this message]
1999-05-26 20:07 ` Re kernel math question Uncle George
read-only archive

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox