Skip to content
  • Reuben Thomas's avatar
    [project @ 2001-09-03 09:27:18 by rrt] · 95e357e7
    Reuben Thomas authored
    Julian pointed out that as 0.0 is a bit string of 0s (at least for IEEE),
    it's an easy result to get bogusly. So use cos instead of sin, expecting 1.0
    back. Has all the other nice properties, plus better error detection.
    95e357e7