This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author MrJean1
Recipients MrJean1, mark.dickinson, terry.reedy
Date 2008-06-28.16:39:37
SpamBayes Score 0.00014238022
Marked as misclassified No
Message-id <1214671179.01.0.470994205679.issue3167@psf.upfronthosting.co.za>
In-reply-to
Content
Keep in mind also, these Python builds are compiled with the SUN 
compilers, i.e. the ./configure command line includes  --without-gcc.  
If we do change the CC- and LINKFLAGS, those changes should only apply 
in that particular case.

Using -xlibmieee in 3 places, BASECFLAGS, LDFLAGS and LDSHARED and 
without optimization produces the following for 32-bit:

Python 2.6b1 (r26b1:64398, Jun 28 2008, 10:31:27) [C] on sunos5
Type "help", "copyright", "credits" or "license" for more information.

>>> import cmath
>>> cmath.log(100.0)
(4.6051701859880918+0j)
>>> cmath.log(2.0)
(0.69314718055994529+0j)
>>> cmath.log(100.0, 2.0)
(6.6438561897747253+0j)

>>> import math
>>> math.log(float('-inf'))
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
ValueError: math domain error
History
Date User Action Args
2008-06-28 16:39:39MrJean1setspambayes_score: 0.00014238 -> 0.00014238022
recipients: + MrJean1, terry.reedy, mark.dickinson
2008-06-28 16:39:39MrJean1setspambayes_score: 0.00014238 -> 0.00014238
messageid: <1214671179.01.0.470994205679.issue3167@psf.upfronthosting.co.za>
2008-06-28 16:39:38MrJean1linkissue3167 messages
2008-06-28 16:39:37MrJean1create