cfa4c3427c
fast absolute value computation and related optimizations implemented Abs in interpreter implemented Abs in codegen added const folding for abs updating docs adding new test for abs() Differential Revision: D896037
18 linhas
292 B
Plaintext
18 linhas
292 B
Plaintext
int(5)
|
|
int(5)
|
|
float(5.5)
|
|
float(5.5)
|
|
int(9223372036854775807)
|
|
int(9223372036854775807)
|
|
int(4611686018427387904)
|
|
int(4611686018427387904)
|
|
int(0)
|
|
float(0)
|
|
float(0)
|
|
int(0)
|
|
HipHop Notice: Object of class stdClass could not be converted to int in %s on line 6
|
|
bool(false)
|
|
bool(false)
|
|
int(1)
|
|
int(1)
|