[Python-Dev] PROPOSAL: exposure of values in limits.h and float.h (original) (raw)

Trent Mick trentm@activestate.com
Tue, 2 May 2000 16:03:22 -0700


I apologize if I am hitting covered ground. What about a module (called limits or something like that) that would expose some appropriate #define's in limits.h and float.h.

For example:

limits.FLT_EPSILON could expose the C DBL_EPSILON limits.FLT_MAX could expose the C DBL_MAX limits.INT_MAX could expose the C LONG_MAX (although that particulay name would cause confusion with the actual C INT_MAX)

Trent

-- Trent Mick trentm@activestate.com