From 8a54af82bfd5d4076c7d13671d589a6d942b0261 Mon Sep 17 00:00:00 2001 From: Bruce Dawson Date: Wed, 14 Mar 2018 23:18:20 -0700 Subject: [PATCH] Updating floating-point comparison link The floating-point comparison link at cygnus-software.com is going away. This updates the comment to point to the new location. --- balance_lib.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/balance_lib.c b/balance_lib.c index e5ee32a..a2c27fb 100644 --- a/balance_lib.c +++ b/balance_lib.c @@ -163,7 +163,7 @@ static void quantiles_u8(const unsigned char *data, size_t size, * * IEEE754 floats can be compared as integers. Not *converted* to * integers, but *read* as integers while maintaining an order. - * cf. http://www.cygnus-software.com/papers/comparingfloats/Comparing%20floating%20point%20numbers.htm#_Toc135149455 + * cf. https://randomascii.wordpress.com/2012/02/25/comparing-floating-point-numbers-2012-edition/ */ static int cmp_f32(const void *a, const void *b) {