W3C home > Mailing lists > Public > public-html-bugzilla@w3.org > September 2009

[Bug 7417] Why use radians as opposed to degrees? Does this mean I can never draw a complete circle because I don't have enough bits to represent 2pi?

From: <bugzilla@wiggum.w3.org>
Date: Mon, 21 Sep 2009 11:04:57 +0000
To: public-html-bugzilla@w3.org
Message-Id: <E1MpghV-0004kE-7n@wiggum.w3.org>
http://www.w3.org/Bugs/Public/show_bug.cgi?id=7417


Ian 'Hixie' Hickson <ian@hixie.ch> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|                            |WORKSFORME




--- Comment #1 from Ian 'Hixie' Hickson <ian@hixie.ch>  2009-09-21 11:04:57 ---
As far as I can tell, 2*Math.PI gives you enough bits for the foreseeable
future.

I mean, we're talking about something like a 0.0000000000000005% error in the
value of pi, so even if your circle was billions of pixels wide, it'd still
line up right, as far as I can tell.


-- 
Configure bugmail: http://www.w3.org/Bugs/Public/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.
Received on Monday, 21 September 2009 11:05:08 UTC

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 20:01:01 UTC