dc Questions

1

The book "An Introduction to Mathematical Cryptography" by J. Hoffstein et al. talks about a three-line implementation of the RSA algorithm in Perl, which people used to protest US govern...
Pak asked 4/10, 2020 at 1:25

6

As regards integer adding one-liners, several proposed shell scripting solutions exist; however, on closer look at each of the solutions chosen, there are inherent limitations: awk ones would cho...
Dagon asked 27/6, 2017 at 1:30

2

Solved

Is it possible to round the top of the stack using dc in a shell skript? If yes are there commands to round the result up and down? Thanks guys!
Ynes asked 11/10, 2013 at 15:48

1

Solved

In dc, how do I pop and discard a number from the top of the stack? A stack with three items (1 2 3) should become a stack with two items (2 3). Currently I'm shoving the number onto another stack ...
dc
Qp asked 21/6, 2013 at 23:21

2

Solved

Is there some way I could make decimal.Decimal the default type for all numerical values in Python? I would like to be able to use Python in a manner similar to the bc and dc programs without havin...
Boxfish asked 18/1, 2011 at 17:21
1

© 2022 - 2024 — McMap. All rights reserved.