Return
Styles:
Pseud0ch
,
Terminal
,
Valhalla
,
NES
,
Geocities
,
Blue Moon
.
Entire thread
Calculate floating-point powers
1
Name:
Anonymous
2009-05-30 10:20
seems bc and dc can't do it.
6
Name:
Anonymous
2009-05-31 1:29
>>1
get a better
bc
and
dc
.
or just use any shell that isn't complete shit:
$ echo $((4**0.5))
2.
or even one that is (ksh93):
$ echo $((pow(4,0,0,5)))
2
yes, ksh really is that stupid.
Newer Posts
Don't change these.
Name:
Email:
Entire Thread
Thread List