summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/doc/generic/minifp
diff options
context:
space:
mode:
Diffstat (limited to 'Master/texmf-dist/doc/generic/minifp')
-rw-r--r--Master/texmf-dist/doc/generic/minifp/README9
-rw-r--r--Master/texmf-dist/doc/generic/minifp/minifp.pdfbin418427 -> 419173 bytes
-rw-r--r--Master/texmf-dist/doc/generic/minifp/test1.tex19
3 files changed, 19 insertions, 9 deletions
diff --git a/Master/texmf-dist/doc/generic/minifp/README b/Master/texmf-dist/doc/generic/minifp/README
index f6b413bf9ee..eec67f09a9e 100644
--- a/Master/texmf-dist/doc/generic/minifp/README
+++ b/Master/texmf-dist/doc/generic/minifp/README
@@ -13,7 +13,7 @@ Purpose:
Minifp should work in both latex and plaintex.
- This is version 0.9. It should work reasonably well, barring any bugs,
+ This is version 0.92. It should work reasonably well, barring any bugs,
but I expect to spend some time fine-tuning it for version 1.0.
License:
@@ -79,12 +79,13 @@ Manifest:
This distribution, the latest updates, and possibly some past
versions, should also be available at my web site:
- <http://comp.uark.edu/~luecking/tex/>.
+ <http://comp.uark.edu/~luecking/tex/tex.html>.
History:
- Version 0.9 : maximum possible accuracy achieved for angle, at some
- cost to speed.
+ Version 0.92 : Bugfixes: correct sign of floor and ceiling. Correct
+ occasional minus sign in front of 0 for sin or cos.
+ Version 0.9 : angle: near maximum accuracy, at some cost to speed.
Version 0.8 : exp: now more accurate for many cases.
Version 0.7 : sqrt: now exact when possible and much more accurate.
Version 0.6 : Added angle to mfpextra. Changed package name to minifp.
diff --git a/Master/texmf-dist/doc/generic/minifp/minifp.pdf b/Master/texmf-dist/doc/generic/minifp/minifp.pdf
index 94d43d6488f..baca0c62f24 100644
--- a/Master/texmf-dist/doc/generic/minifp/minifp.pdf
+++ b/Master/texmf-dist/doc/generic/minifp/minifp.pdf
Binary files differ
diff --git a/Master/texmf-dist/doc/generic/minifp/test1.tex b/Master/texmf-dist/doc/generic/minifp/test1.tex
index 024e5c5a44d..c08127eb8b9 100644
--- a/Master/texmf-dist/doc/generic/minifp/test1.tex
+++ b/Master/texmf-dist/doc/generic/minifp/test1.tex
@@ -80,16 +80,16 @@ Exponential:\Rexp\y
Back to $21.34$:\Rpop\X\Rpush{21.34}\y
Square:\Rsq\y
\Rpop\X\Rpush{21.34}%
-\tracingmacros1
Inversion:\Rinv\y
-\tracingmacros0
\Rpop\X\Rpush{21.34}%
+\tracingmacros1
Floor:\Rfloor\y
+\tracingmacros0
\Rpop\X\Rpush{21.34}%
Ceiling:\Rceil\y
\Rpop\X\Rpush{21.34}%
Square root:\Rsqrt\y
-Now put $21.34$ and $12.34$ in that order:\Rpop\X\Rpush{21.34}\Rpush{12.34}\y
+Now push $21.34$ and $12.34$ in that order:\Rpop\X\Rpush{21.34}\Rpush{12.34}\y
Compare: \Rcmp
21.34 is\IFlt{}{ not} less than 12.34.
21.34 is\IFgt{}{ not} more than 12.34.
@@ -404,7 +404,16 @@ negative:^^J}
Square root of $8$:\MFPsqrt{8}\Z\w
Square root of $9$:\MFPsqrt{9}\Z\w
Square root of $10$:\MFPsqrt{10}\Z\w
- Square root of $1524157.65279684$ (should be exact):\MFPsqrt{1524157.65279684}\Z\w
+ Square root of $99$:\MFPsqrt{99}\Z\w
+ Square root of $500$:\MFPsqrt{500}\Z\w
+ Square root of $1000$:\MFPsqrt{1000}\Z\w
+ Square root of $5000$:\MFPsqrt{5000}\Z\w
+ Square root of $9999$:\MFPsqrt{9999}\Z\w
+Square root of $100000$:\MFPsqrt{100000}\Z\w
+Square root of $100000$:\MFPsqrt{100000}\Z\w
+Square root of $1500000$:\MFPsqrt{1500000}\Z\w
+Square root of $1524157.65279684$ (should be exact):\MFPsqrt{1524157.65279684}\Z\w
+Square root of $15000000$:\MFPsqrt{15000000}\Z\w
Square root of $99999998.00000001$ (should be exact):\MFPsqrt{99999998.00000001}\Z\w
Square root of $9999.99$:\MFPsqrt{9999.99}\Z\w
Square root of $9999.999 999$:\MFPsqrt{9999.999999}\Z\W
@@ -418,7 +427,7 @@ Subtract $Y-X$:\MFPsub\Y\X\Z\w
Subtract $X-X$:\MFPsub\X\X\Z\w
Subtract $Y-Y$:\MFPsub\Y\Y\Z\w
Multiply:\MFPmul\X\Y\Z\w
-Multiply $10^4\times10^4$:\MFPmul{10000}{10000}\Z\w
+Multiply $10^{4}\times10^4$ (loses the overflow digit):\MFPmul{10000}{10000}\Z\w
Divide $X/Y$:\MFPdiv\X\Y\Z\w
Divide $Y/X$:\MFPdiv\Y\X\Z\w
Max:\MFPmax\X\Y\Z\w