summaryrefslogtreecommitdiff
path: root/ext/bcmath/bcmath.stub.php
blob: b5d1816accd17043538068a9621d32e5f1d2661f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
<?php

function bcadd(string $left_operand, string $right_operand, int $scale = UNKNOWN) : string {}

function bcsub(string $left_operand, string $right_operand, int $scale = UNKNOWN) : string {}

function bcmul(string $left_operand, string $right_operand, int $scale = UNKNOWN) : string {}

function bcdiv(string $dividend, string $divisor, int $scale = UNKNOWN) : ?string {}

function bcmod(string $dividend, string $divisor, int $scale = UNKNOWN) : ?string {}

/** @return string|false */
function bcpowmod(string $base, string $exponent, string $modulus, int $scale = UNKNOWN) {}

function bcpow(string $base, string $exponent, int $scale = UNKNOWN) : string {}

function bcsqrt(string $operand, int $scale = UNKNOWN) : ?string {}

function bccomp(string $left_operand, string $right_operand, int $scale = UNKNOWN) : int {}

function bcscale(int $scale = UNKNOWN) : int {}