With regards to the query “128-Bit Precision with GCC” in the Best of Tech column of the December 2001 issue, the reply was neither correct nor helpful—GMP is not the equivalent and using GMP means rewriting code. Some compilers, AIX amongst them, will carry out calculations using 64 bits (or 128 bits, depending on the processor) with the appropriate option. (Using this, means that the product of two 32-bit numbers will always fit within an int. No code modification is needed.) GMP, however, is a multi-precision package that defines certain data structures wherein the multi-precision numbers are put. To use it, you must extensively rewrite your code. Some compilers, including gcc, accept the “long long” extension and use 64 bits for calculation but that still requires modifying your code and raises portability questions. My answer would be that, sadly, there is no equivalent without some sort of code modification. Such an option to gcc would be nice, though.
Upon rereading my letter [above], I realized that it reads far harsher than I intended. Both the column and the individual answering the query have done your readers good service in the past. I did not mean to slight either, and I apologise if anyone took amiss. I merely wished to indicate that the solution is by no means simple.
Webinar: 8 Signs You’re Beyond Cron
On Demand NOW
Join Linux Journal and Pat Cameron, Director of Automation Technology at HelpSystems, as they discuss the eight primary advantages of moving beyond cron job scheduling. In this webinar, you’ll learn about integrating cron with an enterprise scheduler.View Now!
|My Humble Little Game Collection||May 28, 2015|
|New Linux Based OS Brings Internet of Things Closer to Reality||May 27, 2015|
|Non-Linux FOSS: All the Bitcoin, None of the Bloat||May 26, 2015|
|Dr Hjkl on the Command Line||May 21, 2015|
|Initializing and Managing Services in Linux: Past, Present and Future||May 20, 2015|
|Goodbye, Pi. Hello, C.H.I.P.||May 18, 2015|
- New Linux Based OS Brings Internet of Things Closer to Reality
- My Humble Little Game Collection
- Dr Hjkl on the Command Line
- Initializing and Managing Services in Linux: Past, Present and Future
- Non-Linux FOSS: All the Bitcoin, None of the Bloat
- Using Hiera with Puppet
- Gartner Dubs DivvyCloud Cool Cloud Management Vendor
- It's Easier to Ask Forgiveness...
- Infinite BusyBox with systemd
- Goodbye, Pi. Hello, C.H.I.P.