On Sat, Sep 27, 2008 at 1:27 AM, Dean McNamee <[EMAIL PROTECTED]> wrote:
> Can't we avoid dynamically allocating memory?  Does this not work?
>
> if (*reinterpret_cast<volatile double*>(&expected) ==
>  *reinterpret_cast<volatile double*>(&value))

Yeah, I'd certainly also appreciate a solution that didn't use new and
delete. If that isn't possible, you should at least use NewArray and
DeleteArray...

Cheers,
Kasper

--~--~---------~--~----~------------~-------~--~----~
v8-dev mailing list
[email protected]
http://groups.google.com/group/v8-dev
-~----------~----~----~----~------~----~------~--~---

Reply via email to