Hi,

As you probably know, V8 is an implementation of ECMAScript, which has a
language specification that specifies all these things :)  So the proper
place to ask is in a support group for the language.

That said, I suggest plugging "ToUint32 ecmascript" into your favorite
search engine :)  The value conversion happens at the bitwise
operations.

Andy

On Mon 09 Feb 2015 11:17, Si Robertson <[email protected]> writes:

> I apologize in advance if this isn't the best place to ask this question
> but I couldn't find a more suitable forum/group.
>
> // JavaScript
> let a = 0 // int?
> let b = 0.0
> let c = 1 // int?
> let d = 1.0
> let e = 1.2
>
> My question is, does V8 consider a and c to be integers or is the
> explicit use integer related (bitwise) operators required to coerce
> doubles to integers?
>
> Thanks.
>
> -- 

-- 
-- 
v8-users mailing list
[email protected]
http://groups.google.com/group/v8-users
--- 
You received this message because you are subscribed to the Google Groups 
"v8-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to