devel/pear-Math_Fraction 0.4.1
Classes that represent and manipulate fractions
- Repository
- FreeBSD ports
- Maintainer
- [email protected]
- License
- PHP30
- Categories
- devel, www, pear
- Package size
- 5.6 KiB, 19.9 KiB installed
Description
Classes that represent and manipulate fractions (x = a/b).
The Math_FractionOp static class contains definitions for:
- basic arithmetic operations
- comparing fractions
- greatest common divisor (gcd) and least common multiple (lcm) of two integers
- simplifying (reducing) and getting the reciprocal of a fraction
- converting a float to fraction.
Install
As a binary package — by origin, or by package name:
pkg install devel/pear-Math_Fraction
pkg install php82-pear-Math_Fraction
From the ports tree:
cd /usr/ports/devel/pear-Math_Fraction/ && make install clean
To depend on this port in another port's Makefile:
RUN_DEPENDS= php82-pear-Math_Fraction>0:devel/pear-Math_Fraction
Packages
The version each package repository carries. “-” means the repository builds no package of it, “n/a” that there is no such repository.
| Repository | aarch64 | amd64 | armv6 | armv7 | i386 |
|---|---|---|---|---|---|
| FreeBSD:14:latest | 0.4.1 | 0.4.1 | 0.4.1 | 0.4.1 | 0.4.1 |
| FreeBSD:14:quarterly | 0.4.1 | 0.4.1 | n/a | 0.4.1 | 0.4.1 |
| FreeBSD:15:latest | 0.4.1 | 0.4.1 | n/a | 0.4.1 | 0.4.1 |
| FreeBSD:15:quarterly | 0.4.1 | 0.4.1 | n/a | n/a | n/a |
| FreeBSD:16:latest | 0.4.1 | 0.4.1 | n/a | n/a | n/a |
| FreeBSD:16:quarterly | n/a | n/a | n/a | n/a | n/a |
Dependencies
The Makefile names none itself; they come from USES and USE_*.
The full lists below include those, and their dependencies in turn.
All build dependencies 9
All run dependencies 10
No port depends on this one.
Configuration
No options to configure.
- USES
- pear
- Service scripts
- none
- Flavors
php83-pear-Math_Fraction-0.4.1,php84-pear-Math_Fraction-0.4.1,php85-pear-Math_Fraction-0.4.1,php86-pear-Math_Fraction-0.4.1
Files
distinfo 1
| File | Size | SHA256 |
|---|---|---|
| PEAR/Math_Fraction-0.4.1.tgz | 4234 | 5d036a07db0dba84915277c45f018e3a8b8c1214c4c7c67378aeb0b6192512bd |
Commit history 0
No commits in the history this site was built from.