This is the mail archive of the guile@sourceware.cygnus.com mailing list for the Guile project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

IS_INF bug?



I think the naming of the following macro should be changed to
NONZERO_IS_INF, or something alike. The name is misleading.


	/* IS_INF tests its floating point number for infiniteness
	 */
	#ifndef IS_INF
	#define IS_INF(x) ((x) == (x) / 2)
	#endif


-- 

Han-Wen Nienhuys, hanwen@cs.uu.nl ** GNU LilyPond - The Music Typesetter 
      http://www.cs.uu.nl/people/hanwen/lilypond/index.html 


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]