Re: [PATCH] Fix non-portable usage of `isinf' in `max' and `min'

2011-02-03 Thread Andy Wingo
On Thu 03 Feb 2011 01:38, Mark H Weaver m...@netris.org writes: Ah, I was using a non-portable extension of isinf(x) to determine the sign of the infinity. This patch should fix it. Applied, thanks. Andy -- http://wingolog.org/

Re: [PATCH] Fix non-portable usage of `isinf' in `max' and `min'

2011-02-03 Thread Ludovic Courtès
Hello! And thanks for the patch stream and quick fixes! :-) Mark H Weaver m...@netris.org writes: Ah, I was using a non-portable extension of isinf(x) to determine the sign of the infinity. This patch should fix it. We use Gnulib’s ‘isinf’ module. It could be that it’s buggy, or it could

[PATCH] Fix non-portable usage of `isinf' in `max' and `min'

2011-02-02 Thread Mark H Weaver
Andy Wingo wi...@pobox.com writes: BTW: did you see the failures on darwin? http://hydra.nixos.org/build/882506/nixlog/1 Seems there were errors in: FAIL: numbers.test: max: infinities and NaNs: (real-nan? (max +nan.0 -inf.0)) FAIL: numbers.test: max: infinities and NaNs: