[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Help-smalltalk] Re: [bug] FloatQ pi is not the extended precision neare
From: |
Paolo Bonzini |
Subject: |
[Help-smalltalk] Re: [bug] FloatQ pi is not the extended precision nearest pi |
Date: |
Mon, 15 Jun 2009 05:45:22 -0700 |
Issue status update for
http://smalltalk.gnu.org/project/issue/312
Post a follow up:
http://smalltalk.gnu.org/project/comments/add/312
Project: GNU Smalltalk
Version: <none>
Component: Base classes
Category: bug reports
Priority: normal
Assigned to: Unassigned
Reported by: nice
Updated by: bonzinip
-Status: active
+Status: fixed
I fixed this by using base-16 constants.
Note that while comparing /FloatX pi abs/ works for sine, it does not
necessarily work where the derivative is not close to 1. For example
an approximation /L'/ to /ln 10/ from the right may be better than a
second approximation /L''/ from the left, and yet /|eL'-10|/ can be
greater than /|eL''-10|/.