diff options
Diffstat (limited to 'contrib/bc/FAQ')
| -rw-r--r-- | contrib/bc/FAQ | 17 |
1 files changed, 0 insertions, 17 deletions
diff --git a/contrib/bc/FAQ b/contrib/bc/FAQ deleted file mode 100644 index 32dd051d7810..000000000000 --- a/contrib/bc/FAQ +++ /dev/null @@ -1,17 +0,0 @@ -Because of frequent questions ....... here is the BC FAQ - - -1) Why does BC have its own arbitrary precision number routines - (found in lib/number.c) rather than using GMP? - -GMP has "integers" (no digits after a decimal), "rational numbers" -(stored as 2 integers) and "floats". None of these will correctly -represent a POSIX BC number. Floats are the closest, but will not -behave correctly for many computations. For example, BC numbers have -a "scale" that represent the number of digits to represent after the -decimal point. The multiplying two of these numbers requires one to -calculate an exact number of digits after the decimal point regardless -of the number of digits in the integer part. GMP floats have a -"fixed, but arbitrary" mantissa and so multiplying two floats will end -up dropping digits BC must calculate. - |
