aboutsummaryrefslogtreecommitdiff
path: root/py/objfloat.c
AgeCommit message (Expand)Author
2022-05-03py/objfloat: Explain why mp_obj_malloc isn't used.Jim Mussared
2022-01-23py/modmath: Add math.tau, math.nan and math.inf constants.stijn
2021-02-04py: Rename BITS_PER_BYTE to MP_BITS_PER_BYTE.Damien George
2020-09-11py: Fix handling of NaN in certain pow implementations.stijn
2020-09-11py/objfloat: Fix handling of negative float to power of nan.Damien George
2020-04-18all: Fix implicit floating point promotion.stijn
2020-04-05all: Use MP_ERROR_TEXT for all error messages.Jim Mussared
2020-02-28all: Reformat C and Python source code with tools/codeformat.py.Damien George
2020-02-28py: Removing dangling "else" to improve code format consistency.Damien George
2020-02-18py: Factor out definition of mp_float_union_t to one location.Damien George
2020-02-11py: Expand type equality flags to 3 separate ones, fix bool/namedtuple.Damien George
2020-01-30py: Support non-boolean results for equality and inequality tests.Nicko van Someren
2019-02-12py: Downcase all MP_OBJ_IS_xxx macros to make a more consistent C API.Damien George
2018-09-27py/objfloat: Fix abs(-0.0) so it returns 0.0.Damien George
2018-09-20py: Shorten error messages by using contractions and some rewording.Damien George
2018-05-21py/objfloat: Fix undefined integer behavior hashing negative zero.Jeff Epler
2018-05-21py/objfloat: Fix undefined shifting behavior in high-quality float hash.Jeff Epler
2018-02-08py/objfloat: Fix case of raising 0 to -infinity.Damien George
2017-11-21py/objfloat: Allow float() to parse anything with the buffer protocol.Damien George
2017-10-04all: Remove inclusion of internal py header files.Damien George
2017-09-26py/objfloat: Support raising a negative number to a fractional power.Damien George
2017-09-18py/{objfloat,objcomplex}: Optimise MP_UNARY_OP_ABS by reusing variables.Damien George
2017-09-18py/modbuiltins: Implement abs() by dispatching to MP_UNARY_OP_ABS.Paul Sokolovsky
2017-09-02py/objfloat: Fix binary ops with incompatible objects.Paul Sokolovsky
2017-08-29all: Convert mp_uint_t to mp_unary_op_t/mp_binary_op_t where appropriateDamien George
2017-07-31all: Use the name MicroPython consistently in commentsAlexander Steffen
2017-04-21py: Reduce str/repr precision of float numbers when floats are 30-bit.Damien George
2017-04-12py/objfloat: Add implementation of high-quality float hashing.Damien George
2017-04-04py: Add very simple but correct hashing for float and complex numbers.Damien George
2017-03-29py: Change mp_uint_t to size_t for mp_obj_str_get_data len arg.Damien George
2017-02-03py/objfloat: Raise ZeroDivisionError for 0 to negative power.Damien George
2016-10-17py: Use mp_raise_msg helper function where appropriate.Damien George
2016-05-12py/objfloat, py/modmath: Ensure M_PI and M_E defined.Colin Hogben
2016-01-11py: Change first arg of type.make_new from mp_obj_t to mp_obj_type_t*.Damien George
2016-01-11py: Change type of .make_new and .call args: mp_uint_t becomes size_t.Damien George
2015-11-29py: Add support for 64-bit NaN-boxing object model, on 32-bit machine.Damien George
2015-11-29py: Wrap all obj-ptr conversions in MP_OBJ_TO_PTR/MP_OBJ_FROM_PTR.Damien George
2015-10-20py: Add object repr "C", where 30-bit floats are stuffed in obj word.Damien George
2015-10-20py: Make float representation configurable with object representation.Damien George
2015-10-20py: Move float e/pi consts to objfloat and make mp_obj_float_t private.Damien George
2015-10-20py: Add mp_obj_is_float function (macro) and use it where appropriate.Damien George
2015-10-11py: Rename MP_BOOL() to mp_obj_new_bool() for consistency in naming.Paul Sokolovsky
2015-06-13py: Add MP_BINARY_OP_DIVMOD to simplify and consolidate divmod builtin.Damien George
2015-05-17py: Implement mp_format_float for doubles and use where appropriatestijn
2015-04-22py: Fix printing of "inf" and "nan" floating point values.Damien George
2015-04-16py: Overhaul and simplify printf/pfenv mechanism.Damien George
2015-03-14py, extmod: Remove include of unnecessary system headers.Damien George
2015-02-08py: Parse big-int/float/imag constants directly in parser.Damien George
2015-01-20py, unix: Allow to compile with -Wunused-parameter.Damien George
2015-01-01py: Move to guarded includes, everywhere in py/ core.Damien George