Skip to content
  1. Nov 26, 2013
    • Raymond Toy's avatar
      Switch to using atan-qd/taylor as the default atan implementation. · 0a607f3a
      Raymond Toy authored
      qd-fun.lisp:
      o Use atan-qd/taylor and atan2-qd/taylor as the atan-qd and atan2-qd
        implementation.
      o Fix bug in atan-qd/taylor. We need a special case for x small where
        we don't want to use the table. (Found by our rt-test.  Yay!)
      
      rt-tests.lisp:
      o Add comment for oct.atan.4 for why it works.
      0a607f3a
    • Raymond Toy's avatar
      Reduce size of the atan partition and node tables by half. · 793166a0
      Raymond Toy authored
      qd-const.lisp:
      o Update tables and generator to use tables with only half as many
        entries as before. This is because atan-qd/taylor never needs to
        compute directly for x > 1.
      
      qd-fun.lisp:
      o Use table length for binary search, so we're independent of other
        constants.
      o Remove FIXME.
      793166a0
    • Raymond Toy's avatar
      Fix atan/taylor bug and add atan2/taylor. · 4d09f5a3
      Raymond Toy authored
      qd-fun.lisp:
      o Fix issue with atan-qd/taylor for large args. We use the
        relationship atan(x) = pi/2-atan(1/x) for x > 1.
      o Add atan2-qd/taylor.  This appears to be much faster than
        atan2-qd/newton. 
      
      timing.lisp:
      o Add timing test for atan2-qd.
      4d09f5a3
    • Raymond Toy's avatar
      Implement a new atan method that is 21 times faster. · b9a21f1f
      Raymond Toy authored
      The new method uses a table and the taylor series for atan to compute
      atan for real args.
      
      qd-const.lisp:
      o Add the two tables used for the atan computation.
      o Include clisp code that generates the tables.
      
      qd-fun.lisp:
      o Implement atan using a set of tables and a Taylor series.
      
      timing.lisp:
      o Add a simple timing program to evaluate how fast each atan method
        is.
      b9a21f1f
  2. Nov 25, 2013
  3. Nov 24, 2013
    • Raymond Toy's avatar
      Fix ticket:5 · 6127a79e
      Raymond Toy authored
      o Implement better pi reduction and also always do pi reduction.
      o Add test for sin(pi) and cos(2^120), to test pi reduction.
      o Accuracy for erfc is only 198 bits.
      6127a79e
  4. Apr 26, 2013
  5. Apr 17, 2012
  6. Apr 16, 2012
  7. Apr 15, 2012
  8. Apr 13, 2012
  9. Apr 12, 2012
  10. Apr 11, 2012
  11. Apr 10, 2012
  12. Apr 09, 2012
  13. Apr 08, 2012