bc tips

Auto explicative tips for the command line calculator:
(base conversion and real numbers)

$bc
ibase=2
1001
9
1001+10
11

ibase=2
obase=2
100+1+1
110

3/2
1
scale=2
3/2

1.50

ibase=16
FF
255
FFFF
65535

obase=16
1
1

2
2

9
9

10
A

14
E

15
F

16
10

This entry was posted in Uncategorized. Bookmark the permalink.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s