Hi all, Any chance of exposing a 64bit-friendly constructor for the v8 Integer class? We've just been hit with a problem that led to some bad numeric truncation -- looking through the v8.h header I can see that the return from Integer's 'Value()' member is already an int64_t, but the New construct forces you to instantiate with an int32_t or a uint32_t.
How about a NewFrom64 and a NewFromUnsigned64 to go alongside New and NewFromUnsigned? (Assuming the internal representation is already 64bit; if not, how about an explicit Integer64 class?) I don't really want to have to stash the value in a double/float and lose integer precision if it can possibly be avoided. Many thanks, -A -- v8-users mailing list [email protected] http://groups.google.com/group/v8-users
