Re: BASH question

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Fri, 2006-09-08 at 15:35 +1000, Cameron Simpson wrote:
> On 07Sep2006 19:17, Khoa Ton <khoa@xxxxxxxxxxxxxxx> wrote:
> | >| I find dc (man dc) very useful for floating point arithmetic.
> | >I hate to tell you this, but dc does fixed point arithmetic, not
> | >floating point.
> | Thank you for the correction, Cameron.  I will use bc instead
> | of dc for floating point calculations from now on!
> 
> 1: What's wrong with fixed point? For your purposes, I mean?
> 2: bc certainly used to be a wrapper for dc, so it was fixed point too!
> 

I am confused about this discussion. If numbers with fractional parts are handled it
is doing floating point arithmetic. bc -l does floating point arithmetic. dc and bc 
work in such a different fashion it is hard to think one is a wrapper
for the other.

-- 
Aaron Konstam <akonstam@xxxxxxxxxxxxx>
ionsl

-- 
fedora-list mailing list
fedora-list@xxxxxxxxxx
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list
[Index of Archives]     [Older Fedora Users]     [Fedora Announce]     [Fedora Package Announce]     [EPEL Announce]     [Fedora Magazine]     [Fedora News]     [Fedora Summer Coding]     [Fedora Laptop]     [Fedora Cloud]     [Fedora Advisory Board]     [Fedora Education]     [Fedora Security]     [Fedora Scitech]     [Fedora Robotics]     [Fedora Maintainers]     [Fedora Infrastructure]     [Fedora Websites]     [Anaconda Devel]     [Fedora Devel Java]     [Fedora Legacy]     [Fedora Desktop]     [Fedora Fonts]     [ATA RAID]     [Fedora Marketing]     [Fedora Management Tools]     [Fedora Mentors]     [SSH]     [Fedora Package Review]     [Fedora R Devel]     [Fedora PHP Devel]     [Kickstart]     [Fedora Music]     [Fedora Packaging]     [Centos]     [Fedora SELinux]     [Fedora Legal]     [Fedora Kernel]     [Fedora OCaml]     [Coolkey]     [Virtualization Tools]     [ET Management Tools]     [Yum Users]     [Tux]     [Yosemite News]     [Gnome Users]     [KDE Users]     [Fedora Art]     [Fedora Docs]     [Asterisk PBX]     [Fedora Sparc]     [Fedora Universal Network Connector]     [Libvirt Users]     [Fedora ARM]

  Powered by Linux