summaryrefslogtreecommitdiffstatshomepage
path: root/py/objfloat.c
Commit message (Expand)AuthorAge
* py/objfloat: Workaround non-constant NAN definition on Windows MSVC.Angus Gratton2024-11-28
* all: Remove the "STATIC" macro and just use "static" instead.Angus Gratton2024-03-07
* py/obj: Convert make_new into a mp_obj_type_t slot.Jim Mussared2022-09-19
* all: Make all mp_obj_type_t defs use MP_DEFINE_CONST_OBJ_TYPE.Jim Mussared2022-09-19
* py/parsenum: Optimise when building with complex disabled.Damien George2022-06-23
* py/objfloat: Explain why mp_obj_malloc isn't used.Jim Mussared2022-05-03
* py/modmath: Add math.tau, math.nan and math.inf constants.stijn2022-01-23
* py: Rename BITS_PER_BYTE to MP_BITS_PER_BYTE.Damien George2021-02-04
* py: Fix handling of NaN in certain pow implementations.stijn2020-09-11
* py/objfloat: Fix handling of negative float to power of nan.Damien George2020-09-11
* all: Fix implicit floating point promotion.stijn2020-04-18
* all: Use MP_ERROR_TEXT for all error messages.Jim Mussared2020-04-05
* all: Reformat C and Python source code with tools/codeformat.py.Damien George2020-02-28
* py: Removing dangling "else" to improve code format consistency.Damien George2020-02-28
* py: Factor out definition of mp_float_union_t to one location.Damien George2020-02-18
* py: Expand type equality flags to 3 separate ones, fix bool/namedtuple.Damien George2020-02-11
* py: Support non-boolean results for equality and inequality tests.Nicko van Someren2020-01-30
* py: Downcase all MP_OBJ_IS_xxx macros to make a more consistent C API.Damien George2019-02-12
* py/objfloat: Fix abs(-0.0) so it returns 0.0.Damien George2018-09-27
* py: Shorten error messages by using contractions and some rewording.Damien George2018-09-20
* py/objfloat: Fix undefined integer behavior hashing negative zero.Jeff Epler2018-05-21
* py/objfloat: Fix undefined shifting behavior in high-quality float hash.Jeff Epler2018-05-21
* py/objfloat: Fix case of raising 0 to -infinity.Damien George2018-02-08
* py/objfloat: Allow float() to parse anything with the buffer protocol.Damien George2017-11-21
* all: Remove inclusion of internal py header files.Damien George2017-10-04
* py/objfloat: Support raising a negative number to a fractional power.Damien George2017-09-26
* py/{objfloat,objcomplex}: Optimise MP_UNARY_OP_ABS by reusing variables.Damien George2017-09-18
* py/modbuiltins: Implement abs() by dispatching to MP_UNARY_OP_ABS.Paul Sokolovsky2017-09-18
* py/objfloat: Fix binary ops with incompatible objects.Paul Sokolovsky2017-09-02
* all: Convert mp_uint_t to mp_unary_op_t/mp_binary_op_t where appropriateDamien George2017-08-29
* all: Use the name MicroPython consistently in commentsAlexander Steffen2017-07-31
* py: Reduce str/repr precision of float numbers when floats are 30-bit.Damien George2017-04-21
* py/objfloat: Add implementation of high-quality float hashing.Damien George2017-04-12
* py: Add very simple but correct hashing for float and complex numbers.Damien George2017-04-04
* py: Change mp_uint_t to size_t for mp_obj_str_get_data len arg.Damien George2017-03-29
* py/objfloat: Raise ZeroDivisionError for 0 to negative power.Damien George2017-02-03
* py: Use mp_raise_msg helper function where appropriate.Damien George2016-10-17
* py/objfloat, py/modmath: Ensure M_PI and M_E defined.Colin Hogben2016-05-12
* py: Change first arg of type.make_new from mp_obj_t to mp_obj_type_t*.Damien George2016-01-11
* py: Change type of .make_new and .call args: mp_uint_t becomes size_t.Damien George2016-01-11
* py: Add support for 64-bit NaN-boxing object model, on 32-bit machine.Damien George2015-11-29
* py: Wrap all obj-ptr conversions in MP_OBJ_TO_PTR/MP_OBJ_FROM_PTR.Damien George2015-11-29
* py: Add object repr "C", where 30-bit floats are stuffed in obj word.Damien George2015-10-20
* py: Make float representation configurable with object representation.Damien George2015-10-20
* py: Move float e/pi consts to objfloat and make mp_obj_float_t private.Damien George2015-10-20
* py: Add mp_obj_is_float function (macro) and use it where appropriate.Damien George2015-10-20
* py: Rename MP_BOOL() to mp_obj_new_bool() for consistency in naming.Paul Sokolovsky2015-10-11
* py: Add MP_BINARY_OP_DIVMOD to simplify and consolidate divmod builtin.Damien George2015-06-13
* py: Implement mp_format_float for doubles and use where appropriatestijn2015-05-17
* py: Fix printing of "inf" and "nan" floating point values.Damien George2015-04-22