[PD] long int precision lost

Lex Ein lex_ein at f-m.fm
Mon Dec 6 19:21:53 CET 2004


Donald Knuth would not commit murder.
He might mention Mr. Boon as "deprecated" in his next book,
or worse, not mention him at all.

On Mon, 6 Dec 2004 08:51:35 -0600, "chris clepper"
<cgc at humboldtblvd.com> said:
> On Dec 6, 2004, at 2:34 AM, Marc Boon wrote:
> >
> > to deal with this bad practice, you could define both:
> >
> > #define t_float double
> > #define float double
> 
> That second one probably won't work with any compiler.  Redefining 
> basic data types should not be allowed - they are reserved for a 
> reason.  If nothing else, #define float double is a million times worse 
> bad practice compared to what you are trying to fix.  Donald Knuth 
> would murder you on the spot for doing that. ;)
> 
> cgc
> 
> 
> _______________________________________________
> PD-list at iem.at mailing list
> UNSUBSCRIBE and account-management ->
> http://iem.at/cgi-bin/mailman/listinfo/pd-list




More information about the Pd-list mailing list