std.math.TAU
James Fisher
jameshfisher at gmail.com
Tue Jul 5 04:36:11 PDT 2011
On Tue, Jul 5, 2011 at 12:31 PM, James Fisher <jameshfisher at gmail.com>wrote:
>
> Sorry, I didn't state this very clearly. Multiplying the approximation of
> PI in std.math should yield the exact double of that approximation, as it
> should just involve increasing the exponent by 1. However, [double the
> approximation of the constant] is not necessarily equal to [the
> approximation of double the constant]. Does that make sense?
>
(I think this is why the constants in
math.d<https://github.com/D-Programming-Language/phobos/blob/master/std/math.d#L206>are
each defined separately rather than in terms of each other.)
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.puremagic.com/pipermail/digitalmars-d/attachments/20110705/e12a2810/attachment.html>
More information about the Digitalmars-d
mailing list