1--TEST--
2BcMath\Number calc float by operator
3--EXTENSIONS--
4bcmath
5--FILE--
6<?php
7$num = new BcMath\Number(100);
8
9$num + 1.01;
10$num - 1.01;
11$num * 1.01;
12$num / 1.01;
13$num % 1.01;
14$num ** 1.01;
15?>
16--EXPECTF--
17Deprecated: Implicit conversion from float 1.01 to int loses precision in %s
18
19Deprecated: Implicit conversion from float 1.01 to int loses precision in %s
20
21Deprecated: Implicit conversion from float 1.01 to int loses precision in %s
22
23Deprecated: Implicit conversion from float 1.01 to int loses precision in %s
24
25Deprecated: Implicit conversion from float 1.01 to int loses precision in %s
26
27Deprecated: Implicit conversion from float 1.01 to int loses precision in %s
28