From 9d68e9ccdd4d7f4ecb7a8765ca694e355753d686 Mon Sep 17 00:00:00 2001 From: Damien George Date: Wed, 12 Mar 2014 15:38:15 +0000 Subject: py: Implement integer overflow checking for * and << ops. If operation will overflow, a multi-precision integer is created. --- py/objfloat.c | 2 -- 1 file changed, 2 deletions(-) (limited to 'py/objfloat.c') diff --git a/py/objfloat.c b/py/objfloat.c index 91d669ad5..04d127801 100644 --- a/py/objfloat.c +++ b/py/objfloat.c @@ -17,8 +17,6 @@ #include "formatfloat.h" #endif -mp_obj_t mp_obj_new_float(mp_float_t value); - STATIC void float_print(void (*print)(void *env, const char *fmt, ...), void *env, mp_obj_t o_in, mp_print_kind_t kind) { mp_obj_float_t *o = o_in; #if MICROPY_FLOAT_IMPL == MICROPY_FLOAT_IMPL_FLOAT -- cgit v1.2.3