Re: make check errors on linux



On Wed, Jan 10, 2001 at 06:29:32PM -0500, Michael Meeks wrote:
>  
> +		fprintf (stderr, "%g == %g ?\n", 
> +			 DynamicAny_DynAny_get_double (dyn_any, ev), d);
>  		g_assert (DynamicAny_DynAny_get_double (dyn_any, ev) ==
> d);
> 
> 	Of course; it's probably my dumb mistake somewhere.

Comparing floats with == is a dumb mistake :-)

> 	Regards,
> 
> 		Michael.

- Dick





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