W3C home > Mailing lists > Public > whatwg@whatwg.org > January 2008

[whatwg] Canvas Zero/NaN/Infinity issues

From: Ian Hickson <ian@hixie.ch>
Date: Wed, 16 Jan 2008 02:22:24 +0000 (UTC)
Message-ID: <Pine.LNX.4.62.0801160210370.15583@hixie.dreamhostps.com>
On Thu, 17 May 2007, Philip Taylor wrote:
> I think the definitions would have to say to handle -Infinity as well as 
> Infinity, and say setTransform with finite arguments un-sets the "marked 
> as finite" flag, and maybe say that "marked as finite" is saved/restored 
> along with the transformation matrix.

Right now (this changed recently) the spec is silent on infinities as 
opposite to finite coordinates, but I believe a strict reading implies you 
have to do the mathematically correct thing -- that is, just like you have 
to be able to handle huge numbers (1e200), you have to be able to handle 

Ian Hickson               U+1047E                )\._.,--....,'``.    fL
http://ln.hixie.ch/       U+263A                /,   _.. \   _\  ;`._ ,.
Things that are impossible just take longer.   `._.-(,_..'--(,_..'`-.;.'
Received on Tuesday, 15 January 2008 18:22:24 UTC

This archive was generated by hypermail 2.4.0 : Wednesday, 22 January 2020 16:59:00 UTC