gnash-commit
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Gnash-commit] /srv/bzr/gnash/trunk r10536: return NaN from Math.pow


From: Benjamin Wolsey
Subject: Re: [Gnash-commit] /srv/bzr/gnash/trunk r10536: return NaN from Math.pow if first arg is not finite: fixes math-function tests from swfdec
Date: Sat, 10 Jan 2009 09:52:32 +0100

>   return NaN from Math.pow if first arg is not finite: fixes math-function 
> tests from swfdec
> modified:
>   libcore/asobj/Math_as.cpp
>   testsuite/swfdec/PASSING

Which player does this? LNX 9.0.115.0 and a LNX version 10 player return
Infinity, not NaN for Math.pow(Infinity, 0.4), which was the reason I
didn't change it (as I said in the commit note) when fixing all the
other math tests. The latest Windows player is still the reference,
isn't it? Can anyone verify that the test is correct in Windows? I think
we need tests in actionscript.all and a note if there is a difference.

While we're on this topic, there's a bug open about different matrix
values in Windows / Linux players (http://savannah.gnu.org/bugs/?24135),
and that could really be closed too, if we all agree that the Windows
player is the reference.

bwy

--
Yes, YouTube does work in Gnash
http://www.gnu.org/software/gnash/

Benjamin Wolsey, Software Developer - http://benjaminwolsey.de

Attachment: signature.asc
Description: Dies ist ein digital signierter Nachrichtenteil


reply via email to

[Prev in Thread] Current Thread [Next in Thread]