Ok. 3.0.alpha6 with gcc 4.3 is down to the following doctest failure: sage -t devel/sage/sage/rings/real_double.pyx ********************************************************************** File "/home/mabshoff/sage-3.0.alpha5/tmp/real_double.py", line 544: sage: a = -RDF(1)/RDF(0); a.str() Expected: '-inf' Got: 'inf' ********************************************************************** File "/home/mabshoff/sage-3.0.alpha5/tmp/real_double.py", line 979: sage: a.is_positive_infinity() Expected: False Got: True ********************************************************************** File "/home/mabshoff/sage-3.0.alpha5/tmp/real_double.py", line 991: sage: a.is_negative_infinity() Expected: True Got: False **********************************************************************
This is caused by GSL relying on the system's isinf() function which is either buggy or did change behaviours, i.e. isinf(-1/0) is supposed to be "-inf", while on OSX 10.5 with GSL 1.10 that case returns "inf". I did discuss this with Justin Walker at SD7, but then I never followed up whether this is the correct behavior or not. Interestingly enough GSL's isinf() function [that is used as a fallback in case the system doesn't provide it] returns "-inf" for "isinf(-1/0)". The patch is simple enough by "fixing" GSL. Thoughts? Cheers, Michael --~--~---------~--~----~------------~-------~--~----~ To post to this group, send email to sage-devel@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/sage-devel URLs: http://www.sagemath.org -~----------~----~----~----~------~----~------~--~---