[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Help-gsl] Underlying types in the GSL
From: |
Peter Jay Salzman |
Subject: |
Re: [Help-gsl] Underlying types in the GSL |
Date: |
Tue, 13 Feb 2007 19:28:18 -0500 |
User-agent: |
Mutt/1.5.13 (2006-08-11) |
On Tue 13 Feb 07, 6:09 PM, Warren Weckesser <address@hidden> said:
> Here is an interesting article about tgmath:
>
> http://carolina.mff.cuni.cz/~trmac/blog/2005/the-ugliest-c-feature-tgmathh/
>
>
> Warren Weckesser
It was a fascinating read -- I always wondered how tgmath does its magic.
But I guess my response to him would be...
#1. Eh. I think there are far worse evils in the world.
#2. I'll make sure to pass the proper function name next time I pass a
library function. ;-)
#3. Definitely a problem. But still. It's a problem I can live with until
the ISO committee releases C19 to fix it.
A terrific read -- thanks for posting it. Actually, I went through a few of
his other blogs and love them all, even though I find myself disagreeing
with him on many other points.
I can't believe more people don't comment on his writings.
Pete
--
How VBA rounds a number depends on the number's internal representation.
You cannot always predict how it will round when the rounding digit is 5.
If you want a rounding function that rounds according to predictable rules,
you should write your own.
-- MSDN, on Microsoft VBA's "stochastic" rounding function
Peter Jay Salzman, email: address@hidden web: http://www.dirac.org/p
PGP Fingerprint: B9F1 6CF3 47C4 7CD8 D33E 70A9 A3B9 1945 67EA 951D