Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code | Sign in
(13)

Delta Between Two Patch Sets: Modules/_math.c

Issue 3871: cross and native build of python for mingw32 with distutils
Left Patch Set: Created 7 years, 3 months ago
Right Patch Set: Created 7 years, 2 months ago
Left:
Right:
Use n/p to move between diff chunks; N/P to move between comments. Please Sign in to add in-line comments.
Jump to:
Left: Side by side diff | Download
Right: Side by side diff | Download
« no previous file with change/comment | « Modules/_localemodule.c ('k') | Modules/mathmodule.c » ('j') | no next file with change/comment »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
LEFTRIGHT
(Both sides are equal)
1 /* Definitions of some C99 math library functions, for those platforms 1 /* Definitions of some C99 math library functions, for those platforms
2 that don't implement these functions already. */ 2 that don't implement these functions already. */
3 3
4 #include "Python.h" 4 #include "Python.h"
5 #include <float.h> 5 #include <float.h>
6 #include "_math.h" 6 #include "_math.h"
7 7
8 #if defined(__MINGW32__) 8 #if defined(__MINGW32__)
9 # define USE_MINGWEX_MATH 9 # define USE_MINGWEX_MATH
10 #endif 10 #endif
(...skipping 277 matching lines...) Expand 10 before | Expand all | Expand 10 after
288 y = 1.+x; 288 y = 1.+x;
289 return log(y)-((y-1.)-x)/y; 289 return log(y)-((y-1.)-x)/y;
290 } 290 }
291 else { 291 else {
292 /* NaNs and infinities should end up here */ 292 /* NaNs and infinities should end up here */
293 return log(1.+x); 293 return log(1.+x);
294 } 294 }
295 } 295 }
296 296
297 #endif /* ifdef HAVE_LOG1P */ 297 #endif /* ifdef HAVE_LOG1P */
LEFTRIGHT

RSS Feeds Recent Issues | This issue
This is Rietveld 894c83f36cb7+