Skip to content
  1. Mar 21, 2010
  2. Mar 20, 2010
  3. Feb 02, 2010
  4. Mar 11, 2009
  5. Feb 06, 2009
  6. Dec 21, 2008
  7. Dec 17, 2008
  8. Dec 16, 2008
  9. Nov 24, 2008
  10. Jul 25, 2008
    • Arjan Wekking's avatar
      Correct rational (double-float) formatting · c55227cf
      Arjan Wekking authored
      On Clozure CL (PPC32), (format "~f" (coerce 1/123 'double-float))
      returns "0.008130081300813009D0" which is not a number syntax
      PostgreSQL understands.
      
      In order to be sure that a format is used that is always supported,
      the formatting string was changed to generate the number in
      exponential notation which is accepted by PostgreSQL and which can be
      reliably generated by at least SBCL and Clozure CL (only CLs I've
      tested).
      
      The modified control string in this patch ("~,,,,,,'EE") will generate
      for the rational 1/123 "8.130081300813009E-3" which is accepted and
      interpreted properly by PostgreSQL.
      
      darcs-hash:fe44e973cb94cbb6796a4b04c7d13ce56a9c8b85
      c55227cf
  11. Jul 13, 2008
  12. Jul 10, 2008
  13. Apr 29, 2008
  14. Apr 28, 2008
  15. Apr 25, 2008
  16. Apr 10, 2008
  17. Apr 09, 2008
  18. Apr 08, 2008
  19. Apr 07, 2008
  20. Apr 01, 2008
  21. Mar 17, 2008
  22. Mar 16, 2008