freebsd-nq/tests/dc/multiply_results.txt
Stefan Eßer 1f958cfad7 Import new 2-clause BSD licenced implementation of the bc and dc commands
These implementations of the bc and dc programs offer a number of advantages
compared to the current implementations in the FreeBSD base system:

- They do not depend on external large number functions (i.e. no dependency
  on OpenSSL or any other large number library)

- They implements all features found in GNU bc/dc (with the exception of
  the forking of sub-processes, which the author of this version considers
  as a security issue).

- They are significantly faster than the current code in base (more than
  2 orders of magnitude in some of my tests, e.g. for 12345^100000).

- They should be fully compatible with all features and the behavior of the
  current implementations in FreeBSD (not formally verified).

- They support POSIX message catalogs and come with localized messages in
  Chinese, Dutch, English, French, German, Japanese, Polish, Portugueze,
  and Russian.

- They offer very detailed man-pages that provide far more information than
  the current ones.

Approved by:	imp
Obtained from:	https://git.yzena.com/gavin/bc
Differential Revision:	https://reviews.freebsd.org/D19982
2020-06-27 15:03:19 +00:00

44 lines
1.0 KiB
Plaintext

0
0
0
0
0
0
472638590273489273456
12374861230476103672835496
1
2
2
4
42
136
3543531533584430580556128344529291738
568600835566479683035874339053.4411638427543228060
7487566285885.8557453089005171423976251098
373846412427291014394738378015501363938345620046.7869650248829232267\
2297002026819
-1
-2
-2751507058396910892
-55374468980751.0837656919743223184
-163683743464924630346895054
-36888976187143312550878.567134791289418
-37706154097.696628262157533781
-649904428532907022680241.947918694247541
-290040807.350385412976669306472
-.11328089187650139309272
-4617316439035114.40320367843985107357898
75864709277486862054521256
10610005628108234.92015040406042336
84007879267445533366251128067927.91168012197674537856
56269158624557.1027018519702852
.055305737239900889424090264801
2906048299183.472237078104362540110129
57879411419313585866282299201.3825582163029400
54512860676747314187949.9414724679950990587298071
37281153992026463004361915151761464058058.54968338992209002720
108949072447731660
63708478450213482928510139572007971.83536929222529239687
0
33137343861.8586