View previous topic :: View next topic |
Author |
Message |
skunk l33t
Joined: 28 May 2003 Posts: 646 Location: granada, spain
|
Posted: Tue Sep 30, 2014 12:27 am Post subject: weird bc math |
|
|
Code: |
skunk@mescalito ~ $ x=8.24E-7
skunk@mescalito ~ $ echo "$x > 1"|bc -l
1
skunk@mescalito ~ $ echo "$x < 1"|bc -l
0
skunk@mescalito ~ $ x=8.24E-8
skunk@mescalito ~ $ echo "$x > 1"|bc -l
0
skunk@mescalito ~ $ echo "$x < 1"|bc -l
1
|
please, somebody minds to explain? thank you. |
|
Back to top |
|
|
John R. Graham Administrator
Joined: 08 Mar 2005 Posts: 10589 Location: Somewhere over Atlanta, Georgia
|
Posted: Tue Sep 30, 2014 1:37 am Post subject: |
|
|
Moved from Other Things Gentoo to Duplicate Threads (and deleted other duplicates). @skunk, please do not make multiple posts on the same topic.
- John _________________ I can confirm that I have received between 0 and 499 National Security Letters. |
|
Back to top |
|
|
|