Test: /ext/standard/tests/math/pow.phpt - Version 5.3.19    

There are 2 different diffs reported by users for this test.

Count Diff
6 (86%)
003+
003- OK
004+ Assert failed:
005+ TRUE === is_infinite(pow(0,-2))
006+ Left: bool(true)
007+ Right: bool(false)
008+
009+ Assert failed:
010+ TRUE === is_infinite(pow(0,-1))
011+ Left: bool(true)
012+ Right: bool(false)
013+
014+ Assert failed:
015+ TRUE === is_infinite(pow(0,-2.0))
016+ Left: bool(true)
017+ Right: bool(false)
018+
019+ Assert failed:
020+ TRUE === is_infinite(pow(0,-1.0))
021+ Left: bool(true)
022+ Right: bool(false)
023+
024+ Assert failed:
025+ TRUE === is_infinite(pow(0.0,-2.0))
026+ Left: bool(true)
027+ Right: bool(false)
028+
029+ Assert failed:
030+ TRUE === is_infinite(pow(0.0,-1.0))
031+ Left: bool(true)
032+ Right: bool(false)
033+
034+ Assert failed:
035+ TRUE === is_infinite(pow( 0.0,-2))
036+ Left: bool(true)
037+ Right: bool(false)
038+
039+ Assert failed:
040+ TRUE === is_infinite(pow( 0.0,-1))
041+ Left: bool(true)
042+ Right: bool(false)
1 (14%)
003+
003- OK
004+ Assert failed:
005+ (float)(LONG_MAX-1) === pow(LONG_MAX-1,1.0)
006+ Left: float(2147483646)
007+ Right: float(2147483646)
008+
009+ Assert failed:
010+ (float)(LONG_MIN+1) === pow(LONG_MIN+1,1.0)
011+ Left: float(-2147483647)
012+ Right: float(-2147483647)
013+
014+ Assert failed:
015+ (float)LONG_MAX === pow(LONG_MAX,1.0)
016+ Left: float(2147483647)
017+ Right: float(2147483647)
018+
019+ Assert failed:
020+ (float)LONG_MIN === pow(LONG_MIN,1.0)
021+ Left: float(-2147483648)
022+ Right: float(-2147483648)