9972b1376c
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
52 lines
524 B
Plaintext
52 lines
524 B
Plaintext
0e0pR
|
|
0e1pR
|
|
0e5pR
|
|
0e_2pR
|
|
0e_100pR
|
|
1e0pR
|
|
_1e1pR
|
|
1e9pR
|
|
_1e21pR
|
|
1e_1pR
|
|
_1e_2pR
|
|
1e_5pR
|
|
4.92837e5pR
|
|
_3.28971028e20pR
|
|
6.2e3pR
|
|
_8.289371e2pR
|
|
5.9817280937e8pR
|
|
_3.28977e_1pR
|
|
8.8927891e_20pR
|
|
_7.98239e_4pR
|
|
4.4892e_4pR
|
|
_18937e0pR
|
|
198273e10pR
|
|
_18927e_4pR
|
|
28937e_5pR
|
|
_891072e_7pR
|
|
.28972e0pR
|
|
_.891273e_1pR
|
|
.8928397e1pR
|
|
_.0002983172e5pR
|
|
.00022e3pR
|
|
_.00022e4pR
|
|
.0000328937e8pR
|
|
0o
|
|
0pR
|
|
1pR
|
|
10pR
|
|
_289pR
|
|
2894pR
|
|
_89434pR
|
|
894370pR
|
|
_1239839pR
|
|
28931708pR
|
|
_8052098.8029731809pR
|
|
.1pR
|
|
_.01pR
|
|
.001pR
|
|
_.00038pR
|
|
.0000483pR
|
|
_.0002894378190pR
|
|
.2893712083pR
|