11 lines
184 B
Bash
Executable File
11 lines
184 B
Bash
Executable File
#!/bin/bash
|
|
|
|
# R.P. Clark : 10APR2004
|
|
#
|
|
# Takes two args, c and d.
|
|
# returns approx number of decimal
|
|
# digits that c^d would cause.
|
|
|
|
echo "(l($1)*$2)/l(10)" | bc -l | sed 's/\..*//'
|
|
|