1. About bc
bc is an arbitrary precision calculator language, usually used as a calculator in linux, easy to use. Equivalent to the calculator under windows.
2. Supported operators
Basic mathematical operations: + Addition - Subtraction * Multiplication /Division ^ Index % Remainder also supports expressions, logical operations, mathematical functions.
3. Use
to enter bc
$ bcbc under linux 1.06Copyright 1991-1994, 1997, 1998, 2000 Free Software Foundation, Inc.This is free software with ABSOLUTELY NO WARRANTY.For details type `warranty '. Then input the operation, press Enter to output the operation result2+573*4127-252^386%513/40 In the above example, 3/4 is 0.bc The default output is an integer, to display the decimal point, through the scale =number to set, number is the number of digits after the decimal point.scale=33/4.750 You can enter multiple operations at a time, separate them by semicolon; press Enter to return once.2+5;3*4;3*100712300Value comparison3 > 403 > 21 logical expression(3> 2)
My computer has two hard drives, one solid state drive (sda) installed win7, another ordinary hard d
Press Esc when booting up to bring up the GRUB menu. Enter advanced mode. After selecting
Need to achieve: There are two servers: "192.168.201.236" and "192.168.201.
using direct-lvm storage method Recently played docker on Bluemix virtual machine, but found that t
Linux download artifact aMule installation tutorial
Ubuntu installed Sogou Chinese input method
Do DBA must learn, will not die 11 Linux basic commands
Centos7 modify SSH port number
Linux resource limit level summary
Vsftpd 530 in linux owing to the underlying solution
Detailed sort order command under Linux
Linux common directory detailed map
9 solutions for forgetting Windows XP login password (1)
How to open a hand tour island game? Hand travel island games can not open more solutions tutorial
Reject ads! IE11 browser "read view" mode introduction
Detailed computer resolution call problem
Win7 in the IE browser input address will appear to retrieve the relevant website how to close
Win10 start menu right button does not respond how to do
How to crack rar password under WinXP system?
Windows 8 can not install Tencent QQ, what should I do? [Figure]