Skip to content
Snippets Groups Projects
Forked from cmucl / cmucl
Source project has a limited visibility.
  • rtoy's avatar
    33d88f10
    Implement accurate arg reduction for the trig functions sin, cos, tan, · 33d88f10
    rtoy authored
    using __kernel_rem_pio2.  Use the accurate reduction in dd-%sin,
    dd-%cos, dd-%tan.  The original version were renamed dd-%%sin,
    dd-%%cos, dd-%%tan because we still need them to evaluate the
    functions for small args.
    
    This also has the side effect that we don't signal overflow for
    moderately large args (~1w50) anymore.
    33d88f10
    History
    Implement accurate arg reduction for the trig functions sin, cos, tan,
    rtoy authored
    using __kernel_rem_pio2.  Use the accurate reduction in dd-%sin,
    dd-%cos, dd-%tan.  The original version were renamed dd-%%sin,
    dd-%%cos, dd-%%tan because we still need them to evaluate the
    functions for small args.
    
    This also has the side effect that we don't signal overflow for
    moderately large args (~1w50) anymore.