Skip to content
Navigation Menu
Sign in
Appearance settings
Platform
AI CODE CREATION
GitHub Copilot
Write better code with AI
GitHub Copilot app
Direct agents from issue to merge
MCP Registry
Integrate external tools
DEVELOPER WORKFLOWS
Actions
Automate any workflow
Codespaces
Instant dev environments
Issues
Plan and track work
Code Review
Manage code changes
Code Quality
Enforce quality at merge
APPLICATION SECURITY
GitHub Advanced Security
Find and fix vulnerabilities
Code security
Secure your code as you build
Secret protection
Stop leaks before they start
EXPLORE
Why GitHub
Documentation
Blog
Changelog
Marketplace
View all features
Solutions
BY COMPANY SIZE
Enterprises
Small and medium teams
Startups
Nonprofits
BY USE CASE
App Modernization
DevSecOps
DevOps
CI/CD
View all use cases
BY INDUSTRY
Healthcare
Financial services
Manufacturing
Government
View all industries
View all solutions
Resources
EXPLORE BY TOPIC
AI
Software Development
DevOps
Security
View all topics
EXPLORE BY TYPE
Customer stories
Events & webinars
Ebooks & reports
Business insights
GitHub Skills
SUPPORT & SERVICES
Documentation
Customer support
Community forum
Trust center
Partners
View all resources
Open Source
COMMUNITY
GitHub Sponsors
Fund open source developers
PROGRAMS
Security Lab
Maintainer Community
Accelerator
GitHub Stars
Archive Program
REPOSITORIES
Topics
Trending
Collections
Enterprise
ENTERPRISE SOLUTIONS
Enterprise platform
AI-powered developer platform
AVAILABLE ADD-ONS
GitHub Advanced Security
Enterprise-grade security features
Copilot for Business
Enterprise-grade AI features
Premium Support
Enterprise-grade 24/7 support
Pricing
Search
/
Sign in
Sign up
Appearance settings
You signed in with another tab or window.
Reload
to refresh your session.
You signed out in another tab or window.
Reload
to refresh your session.
You switched accounts on another tab or window.
Reload
to refresh your session.
Dismiss alert
{{ message }}
Uh oh!
There was an error while loading.
Please reload this page
.
php
/
php-src
Public
Notifications
You must be signed in to change notification settings
Fork
8.1k
Star
40.3k
Code
Issues
951
Pull requests
1k
Actions
Security and quality
52
Insights
Additional navigation options
Code
Issues
Pull requests
Actions
Security and quality
Insights
Files
Expand file tree
master
Breadcrumbs
php-src
/
ext
/
bcmath
/
tests
/
Copy path
Directory actions
More options
More options
Directory actions
More options
More options
Latest commit
History
History
History
master
Breadcrumbs
php-src
/
ext
/
bcmath
/
tests
/
Copy path
Top
Folders and files
Name
Name
Last commit message
Last commit date
parent directory
..
number
number
GHSA-x692-q9x7-8c3f.phpt
GHSA-x692-q9x7-8c3f.phpt
bcadd.phpt
bcadd.phpt
bcadd_error.phpt
bcadd_error.phpt
bcadd_large_numbers.phpt
bcadd_large_numbers.phpt
bcadd_zero.phpt
bcadd_zero.phpt
bcceil.phpt
bcceil.phpt
bcceil_error.phpt
bcceil_error.phpt
bccomp.phpt
bccomp.phpt
bccomp_error.phpt
bccomp_error.phpt
bccomp_variation001.phpt
bccomp_variation001.phpt
bccomp_variation002.phpt
bccomp_variation002.phpt
bcdiv.phpt
bcdiv.phpt
bcdiv_by_one.phpt
bcdiv_by_one.phpt
bcdiv_by_pow_10.phpt
bcdiv_by_pow_10.phpt
bcdiv_error1.phpt
bcdiv_error1.phpt
bcdiv_error2.phpt
bcdiv_error2.phpt
bcdiv_large_numbers.phpt
bcdiv_large_numbers.phpt
bcdiv_zero.phpt
bcdiv_zero.phpt
bcdivmod.phpt
bcdivmod.phpt
bcdivmod_by_zero.phpt
bcdivmod_by_zero.phpt
bcfloor.phpt
bcfloor.phpt
bcfloor_error.phpt
bcfloor_error.phpt
bcmod.phpt
bcmod.phpt
bcmod_error2.phpt
bcmod_error2.phpt
bcmod_error3.phpt
bcmod_error3.phpt
bcmod_large_numbers.phpt
bcmod_large_numbers.phpt
bcmod_zero.phpt
bcmod_zero.phpt
bcmul.phpt
bcmul.phpt
bcmul_check_overflow.phpt
bcmul_check_overflow.phpt
bcmul_error.phpt
bcmul_error.phpt
bcmul_large_numbers.phpt
bcmul_large_numbers.phpt
bcmul_zero.phpt
bcmul_zero.phpt
bcpow.phpt
bcpow.phpt
bcpow_div_by_zero.phpt
bcpow_div_by_zero.phpt
bcpow_error1.phpt
bcpow_error1.phpt
bcpow_error2.phpt
bcpow_error2.phpt
bcpow_error3.phpt
bcpow_error3.phpt
bcpow_large_numbers.phpt
bcpow_large_numbers.phpt
bcpow_zero.phpt
bcpow_zero.phpt
bcpowmod.phpt
bcpowmod.phpt
bcpowmod_error.phpt
bcpowmod_error.phpt
bcpowmod_negative_exponent.phpt
bcpowmod_negative_exponent.phpt
bcpowmod_with_mod_1.phpt
bcpowmod_with_mod_1.phpt
bcpowmod_zero_modulus.phpt
bcpowmod_zero_modulus.phpt
bcround_all.phpt
bcround_all.phpt
bcround_away_from_zero.phpt
bcround_away_from_zero.phpt
bcround_ceiling.phpt
bcround_ceiling.phpt
bcround_early_return.phpt
bcround_early_return.phpt
bcround_error.phpt
bcround_error.phpt
bcround_floor.phpt
bcround_floor.phpt
bcround_half_down.phpt
bcround_half_down.phpt
bcround_half_even.phpt
bcround_half_even.phpt
bcround_half_odd.phpt
bcround_half_odd.phpt
bcround_half_up.phpt
bcround_half_up.phpt
bcround_precision_bounds.phpt
bcround_precision_bounds.phpt
bcround_test_helper.inc
bcround_test_helper.inc
bcround_toward_zero.phpt
bcround_toward_zero.phpt
bcscale.phpt
bcscale.phpt
bcscale_variation001.phpt
bcscale_variation001.phpt
bcscale_variation002.phpt
bcscale_variation002.phpt
bcscale_variation003.phpt
bcscale_variation003.phpt
bcsqrt.phpt
bcsqrt.phpt
bcsqrt_error1.phpt
bcsqrt_error1.phpt
bcsqrt_error2.phpt
bcsqrt_error2.phpt
bcsub.phpt
bcsub.phpt
bcsub_error.phpt
bcsub_error.phpt
bcsub_large_numbers.phpt
bcsub_large_numbers.phpt
bcsub_zero.phpt
bcsub_zero.phpt
bug44995.phpt
bug44995.phpt
bug46781.phpt
bug46781.phpt
bug54598.phpt
bug54598.phpt
bug60377.phpt
bug60377.phpt
bug66364.phpt
bug66364.phpt
bug72093.phpt
bug72093.phpt
bug75178.phpt
bug75178.phpt
bug78238.phpt
bug78238.phpt
bug78878.phpt
bug78878.phpt
bug80545.phpt
bug80545.phpt
gh15968.phpt
gh15968.phpt
gh16262.phpt
gh16262.phpt
gh16265.phpt
gh16265.phpt
gh16978.phpt
gh16978.phpt
gh17275.phpt
gh17275.phpt
gh17398.phpt
gh17398.phpt
gh20006.phpt
gh20006.phpt
negative_scale.phpt
negative_scale.phpt
run_bcmath_tests_function.inc
run_bcmath_tests_function.inc
scale.phpt
scale.phpt
scale_ini.phpt
scale_ini.phpt
sec_embedded_null_truncation.phpt
sec_embedded_null_truncation.phpt
str2num_formatting.phpt
str2num_formatting.phpt
View all files
You can’t perform that action at this time.