Download src/php/php-src/ext/bcmath/php_bcmath.h from meddyrat/dis-bench: direct link, hf CLI and curl.
- Browser
- Download file 1.97 kB
-
https://huggingface.co/datasets/meddyrat/dis-bench/resolve/main/src/php/php-src/ext/bcmath/php_bcmath.h
- Command line
-
hf download hf://datasets/meddyrat/dis-bench/src/php/php-src/ext/bcmath/php_bcmath.h
-
curl -L -o php_bcmath.h https://huggingface.co/datasets/meddyrat/dis-bench/resolve/main/src/php/php-src/ext/bcmath/php_bcmath.h
1.97 kB
| /* | |
| +----------------------------------------------------------------------+ | |
| | Copyright (c) The PHP Group | | |
| +----------------------------------------------------------------------+ | |
| | This source file is subject to version 3.01 of the PHP license, | | |
| | that is bundled with this package in the file LICENSE, and is | | |
| | available through the world-wide-web at the following url: | | |
| | https://www.php.net/license/3_01.txt | | |
| | If you did not receive a copy of the PHP license and are unable to | | |
| | obtain it through the world-wide-web, please send a note to | | |
| | license@php.net so we can mail you a copy immediately. | | |
| +----------------------------------------------------------------------+ | |
| | Author: Andi Gutmans <andi@php.net> | | |
| +----------------------------------------------------------------------+ | |
| */ | |
| extern zend_module_entry bcmath_module_entry; | |
| ZEND_BEGIN_MODULE_GLOBALS(bcmath) | |
| bc_num _zero_; | |
| bc_num _one_; | |
| bc_num _two_; | |
| int bc_precision; | |
| char *arena; | |
| size_t arena_offset; | |
| ZEND_END_MODULE_GLOBALS(bcmath) | |
| ZEND_TSRMLS_CACHE_EXTERN() | |
| ZEND_EXTERN_MODULE_GLOBALS(bcmath) | |
| /* Maximum number of digits to extend when scale needs to be extended, such as in undivisible division */ | |
| typedef struct _bcmath_number_obj_t { | |
| zend_string *value; | |
| size_t scale; | |
| bc_num num; | |
| zend_object std; | |
| } bcmath_number_obj_t; | |