Skip to content
Snippets Groups Projects
Commit c63d920e authored by rtoy's avatar rtoy
Browse files

Add the trig argument reduction routines from Sun's fdlibm so we can

accurately reduce the arg and therefore compute the value of trig
functions accurately.

lisp/Config.linux_gencgc:
o Compile e_rem_pio2.c and k_rem_pio2.c

code/irrat.lisp:
o Disable %sin, %cos, %tan functions.
o Implement %sin, %cos, and %tan to call the fdlibm routine
  __ieee754_rem_pio2 to do argument reduction before calling the sin,
  cos, tan vops.

compiler/x86/float.lisp:
o Disable the vops for %sin, %cos, and %tan, so the Lisp code in
  irrat.lisp is used.
parent 58589c23
No related branches found
No related tags found
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment