xref: /php-src/ext/bcmath/bcmath.stub.php (revision 53593927)
1<?php
2
3/** @generate-class-entries */
4
5/** @refcount 1 */
6function bcadd(string $num1, string $num2, ?int $scale = null): string {}
7
8/** @refcount 1 */
9function bcsub(string $num1, string $num2, ?int $scale = null): string {}
10
11/** @refcount 1 */
12function bcmul(string $num1, string $num2, ?int $scale = null): string {}
13
14/** @refcount 1 */
15function bcdiv(string $num1, string $num2, ?int $scale = null): string {}
16
17/** @refcount 1 */
18function bcmod(string $num1, string $num2, ?int $scale = null): string {}
19
20/** @refcount 1 */
21function bcpowmod(string $num, string $exponent, string $modulus, ?int $scale = null): string {}
22
23/** @refcount 1 */
24function bcpow(string $num, string $exponent, ?int $scale = null): string {}
25
26/** @refcount 1 */
27function bcsqrt(string $num, ?int $scale = null): string {}
28
29function bccomp(string $num1, string $num2, ?int $scale = null): int {}
30
31function bcscale(?int $scale = null): int {}
32
33/** @refcount 1 */
34function bcfloor(string $num): string {}
35
36/** @refcount 1 */
37function bcceil(string $num): string {}
38
39/** @refcount 1 */
40function bcround(string $num, int $precision = 0, int $mode = PHP_ROUND_HALF_UP): string {}
41