Skip to content
Snippets Groups Projects
  1. Dec 23, 2013
  2. Dec 22, 2013
  3. Dec 21, 2013
  4. Dec 20, 2013
  5. Dec 18, 2013
  6. Dec 17, 2013
  7. Dec 15, 2013
    • Raymond Toy's avatar
      Merge branch 'master' into rtoy-lisp-trig · 6ec982de
      Raymond Toy authored
      6ec982de
    • Raymond Toy's avatar
      Need -ffloat-store when compiling e_rem/k_rem. · b7280406
      Raymond Toy authored
       * Add CC_REM_PIO2 variable when compiling e_rem_pio2.c and
         k_rem_pio2.c.
       * On linux and freebsd, set CC_REM_PIO2 to -ffloat-store so that
         proper rounding happens.  Not needed on Darwin because Darwin
         always uses sse2 and not x87.
      b7280406
    • Raymond Toy's avatar
      Correct bug in tan. · 36403a83
      Raymond Toy authored
       * code/irrat.lisp
         * Fix typo in kernel-tan.
       * tests/trig.lisp
         * Add test case.
      36403a83
    • Raymond Toy's avatar
      Small cleanups. · 7069ef9d
      Raymond Toy authored
       * Remove unneeded package specifier for %ieee754-rem-pi/2
       * Add some comments for %tan.
      7069ef9d
    • Raymond Toy's avatar
      Add test for sincos(-0d0). · 7190b61c
      Raymond Toy authored
      7190b61c
    • Raymond Toy's avatar
      Implement sincos using the new Lisp trig routines. This can now be · b79c2872
      Raymond Toy authored
      used for all platforms.
      
       code/irrat.lisp::
       * Implement %SINCOS
      
       compiler/float-tran.lisp::
       * Update deftransforms for CIS.  %SINCOS can be used on any platform.
      
       tests/trig.lisp:
       * Add tests to verify %sincos returns exactly the same values as for
         sin and cos.
      b79c2872
    • Raymond Toy's avatar
      Implement trig functions in Lisp · e6a9577f
      Raymond Toy authored
       code/irrat.lisp::
       * Add Lisp implementation for sin, cos, and tan, based on code from
         fdlibm.  Requires the C reduction routines.  Only working so far on
         systems that already include the reduction routies.
      
       tests/trig.lisp::
       * Tests for the new sin, cos, and tan functions.  Tests pass on
         x86/darwin.
      e6a9577f
    • Raymond Toy's avatar
      Add RT. · 32bdd53b
      Raymond Toy authored
       src/contrib/rt::
       * Add RT code, including asdf.
      
       src/code/module.lisp::
       * Add RT as a module
      32bdd53b
  8. Dec 13, 2013
    • Raymond Toy's avatar
      Simplify dd-%%sin, dd-%%cos, and dd-%%tan. · 00bd409b
      Raymond Toy authored
      These routines did argument reduction, but since we use
      __kernel_rem_pio2 to do accurate argument reduction, the argument
      reduction in these routines is a waste of time.  This greatly
      simplifies the routines to just the polynomial (or rational)
      approximations.
      00bd409b
    • Raymond Toy's avatar
      Optimizations to many vops to allow a descriptor for the second arg. · e2c9ecef
      Raymond Toy authored
       * Allow the second arg to be a descriptor for the basic arithmetic
         operations on single floats and double floats.  Previously, the
         boxed number would be loaded to a temporary reg for the
         operation. This saves the load and the extra register.
      
       * Allow a descriptor for the second arg in the comparison vops, the
         float conversion vops and the float truncation vops.
      
       * Allow descriptor for sqrt vop.
      e2c9ecef
Loading