/
proc
/
3430793
/
root
/
usr
/
local
/
lsws
/
phpbuild
/
php-8.0.7
/
ext
/
standard
/
tests
/
math
/
File Upload :
llllll
Current File: //proc/3430793/root/usr/local/lsws/phpbuild/php-8.0.7/ext/standard/tests/math/atanh_basic.phpt
--TEST-- Test return type and value for expected input atanh() --INI-- precision = 14 --FILE-- <?php /* * Function is implemented in ext/standard/math.c */ $file_path = __DIR__; require($file_path."/allowed_rounding_error.inc"); echo "atanh 0.46211715726001 = "; var_dump(atanh(0.46211715726001)); if (allowed_rounding_error(atanh(0.46211715726001), 0.5)) { echo "Pass\n"; } else { echo "Fail\n"; } echo "atanh 0.99505475368673 = "; var_dump(atanh(0.99505475368673)); if (allowed_rounding_error(atanh(0.99505475368673), 3.0)) { echo "Pass\n"; } else { echo "Fail\n"; } ?> --EXPECTF-- atanh 0.46211715726001 = float(%f) Pass atanh 0.99505475368673 = float(%f) Pass
Copyright ©2k19 -
Hexid
|
Tex7ure