On Thu, Mar 1, 2012 at 11:13 AM, Adam D. Ruppe <[email protected]>wrote:
>
> Some integer semantics might be hard too. ubyte is ok, but byte
> is different because 127+1 isn't as simple as x & 0xff
>
> I'll have to think about that. Again, it surely *can*
> be done, but I'd rather than an error than it generating
> horribly inefficient javascript for simple operations.
>

Might TypedArrays help you implement some number type semantics?
http://www.khronos.org/registry/typedarray/specs/latest/

--bb

Reply via email to