NAME
Number::Equation::XS - Track how a number is calculated progamically.
VERSION
Version 0.02
SYNOPSIS
use Number::Equation;
my $foo = Number::Equation->new(42);
my $n = Number::Equation->new(42);
$n = $n - 2;
$n /= 10;
$n *= 3;
$n += 1;
my $m = 1 / $n;
print $m->equation; # (1 / ((((42 - 2) / 10) * 3) + 1)) = 0.0769230769230769
my $n = Number::Equation->new(42, .01);
$n = $n - 2;
$n /= 10;
$n *= 3;
$n += 1;
my $m = 1 / $n;
print $m->equation; # (1 / ((((42 - 2) / 10) * 3) + 1)) ≈ 0.08
my $n = Number::Equation->new(211, 0);
$n = $n ** 2;
print $n->equation; # (211 ** 2) = 44521
$n = $n % 2;
print $n->equation; # ((211 ** 2) % 7) = 1
AUTHOR
LNATION, <email at lnation.org>
BUGS
Please report any bugs or feature requests to bug-number-equation-xs at rt.cpan.org
, or through the web interface at https://rt.cpan.org/NoAuth/ReportBug.html?Queue=Number-Equation-XS. I will be notified, and then you'll automatically be notified of progress on your bug as I make changes.
SUPPORT
You can find documentation for this module with the perldoc command.
perldoc Number::Equation::XS
You can also look for information at:
RT: CPAN's request tracker (report bugs here)
https://rt.cpan.org/NoAuth/Bugs.html?Dist=Number-Equation-XS
CPAN Ratings
Search CPAN
ACKNOWLEDGEMENTS
LICENSE AND COPYRIGHT
This software is Copyright (c) 2025 by LNATION.
This is free software, licensed under:
The Artistic License 2.0 (GPL Compatible)
1 POD Error
The following errors were encountered while parsing the POD:
- Around line 45:
Non-ASCII character seen before =encoding in '≈'. Assuming UTF-8