php-internal-docs 8.4.8
Unofficial docs for php/php-src
Loading...
Searching...
No Matches
php_bcmath.h File Reference

Go to the source code of this file.

Data Structures

struct  _bcmath_number_obj_t
 

Macros

#define phpext_bcmath_ptr   &bcmath_module_entry
 
#define PHP_BCMATH_VERSION   PHP_VERSION
 
#define BC_ARENA_SIZE   256
 
#define BCG(v)
 
#define BC_MATH_NUMBER_EXPAND_SCALE   10
 

Typedefs

typedef struct _bcmath_number_obj_t bcmath_number_obj_t
 

Variables

zend_module_entry bcmath_module_entry
 
bc_num _zero_
 
bc_num _one_
 
bc_num _two_
 
int bc_precision
 
char * arena
 
size_t arena_offset
 

Macro Definition Documentation

◆ BC_ARENA_SIZE

#define BC_ARENA_SIZE   256

Definition at line 30 of file php_bcmath.h.

◆ BC_MATH_NUMBER_EXPAND_SCALE

#define BC_MATH_NUMBER_EXPAND_SCALE   10

Definition at line 49 of file php_bcmath.h.

◆ BCG

#define BCG ( v)
Value:
uint32_t v
Definition cdf.c:1237
#define ZEND_MODULE_GLOBALS_ACCESSOR(module_name, v)
Definition zend_API.h:274

Definition at line 46 of file php_bcmath.h.

◆ PHP_BCMATH_VERSION

#define PHP_BCMATH_VERSION   PHP_VERSION

Definition at line 28 of file php_bcmath.h.

◆ phpext_bcmath_ptr

#define phpext_bcmath_ptr   &bcmath_module_entry

Definition at line 25 of file php_bcmath.h.

Typedef Documentation

◆ bcmath_number_obj_t

Variable Documentation

◆ _one_

bc_num _one_

Definition at line 34 of file php_bcmath.h.

◆ _two_

bc_num _two_

Definition at line 35 of file php_bcmath.h.

◆ _zero_

bc_num _zero_

Definition at line 33 of file php_bcmath.h.

◆ arena

char* arena

Definition at line 37 of file php_bcmath.h.

◆ arena_offset

size_t arena_offset

Definition at line 38 of file php_bcmath.h.

◆ bc_precision

int bc_precision

Definition at line 36 of file php_bcmath.h.

◆ bcmath_module_entry

zend_module_entry bcmath_module_entry
extern