index
:
micropython
master
parse-bytecode
v1.22-release
v1.24-release
MicroPython - a lean and efficient Python implementation for microcontrollers and constrained systems
Aslak Raanes
summary
refs
log
tree
commit
diff
stats
homepage
log msg
author
committer
range
path:
root
/
py
/
objfloat.c
Commit message (
Expand
)
Author
Age
*
py/objfloat: Workaround non-constant NAN definition on Windows MSVC.
Angus Gratton
2024-11-28
*
all: Remove the "STATIC" macro and just use "static" instead.
Angus Gratton
2024-03-07
*
py/obj: Convert make_new into a mp_obj_type_t slot.
Jim Mussared
2022-09-19
*
all: Make all mp_obj_type_t defs use MP_DEFINE_CONST_OBJ_TYPE.
Jim Mussared
2022-09-19
*
py/parsenum: Optimise when building with complex disabled.
Damien George
2022-06-23
*
py/objfloat: Explain why mp_obj_malloc isn't used.
Jim Mussared
2022-05-03
*
py/modmath: Add math.tau, math.nan and math.inf constants.
stijn
2022-01-23
*
py: Rename BITS_PER_BYTE to MP_BITS_PER_BYTE.
Damien George
2021-02-04
*
py: Fix handling of NaN in certain pow implementations.
stijn
2020-09-11
*
py/objfloat: Fix handling of negative float to power of nan.
Damien George
2020-09-11
*
all: Fix implicit floating point promotion.
stijn
2020-04-18
*
all: Use MP_ERROR_TEXT for all error messages.
Jim Mussared
2020-04-05
*
all: Reformat C and Python source code with tools/codeformat.py.
Damien George
2020-02-28
*
py: Removing dangling "else" to improve code format consistency.
Damien George
2020-02-28
*
py: Factor out definition of mp_float_union_t to one location.
Damien George
2020-02-18
*
py: Expand type equality flags to 3 separate ones, fix bool/namedtuple.
Damien George
2020-02-11
*
py: Support non-boolean results for equality and inequality tests.
Nicko van Someren
2020-01-30
*
py: Downcase all MP_OBJ_IS_xxx macros to make a more consistent C API.
Damien George
2019-02-12
*
py/objfloat: Fix abs(-0.0) so it returns 0.0.
Damien George
2018-09-27
*
py: Shorten error messages by using contractions and some rewording.
Damien George
2018-09-20
*
py/objfloat: Fix undefined integer behavior hashing negative zero.
Jeff Epler
2018-05-21
*
py/objfloat: Fix undefined shifting behavior in high-quality float hash.
Jeff Epler
2018-05-21
*
py/objfloat: Fix case of raising 0 to -infinity.
Damien George
2018-02-08
*
py/objfloat: Allow float() to parse anything with the buffer protocol.
Damien George
2017-11-21
*
all: Remove inclusion of internal py header files.
Damien George
2017-10-04
*
py/objfloat: Support raising a negative number to a fractional power.
Damien George
2017-09-26
*
py/{objfloat,objcomplex}: Optimise MP_UNARY_OP_ABS by reusing variables.
Damien George
2017-09-18
*
py/modbuiltins: Implement abs() by dispatching to MP_UNARY_OP_ABS.
Paul Sokolovsky
2017-09-18
*
py/objfloat: Fix binary ops with incompatible objects.
Paul Sokolovsky
2017-09-02
*
all: Convert mp_uint_t to mp_unary_op_t/mp_binary_op_t where appropriate
Damien George
2017-08-29
*
all: Use the name MicroPython consistently in comments
Alexander Steffen
2017-07-31
*
py: Reduce str/repr precision of float numbers when floats are 30-bit.
Damien George
2017-04-21
*
py/objfloat: Add implementation of high-quality float hashing.
Damien George
2017-04-12
*
py: Add very simple but correct hashing for float and complex numbers.
Damien George
2017-04-04
*
py: Change mp_uint_t to size_t for mp_obj_str_get_data len arg.
Damien George
2017-03-29
*
py/objfloat: Raise ZeroDivisionError for 0 to negative power.
Damien George
2017-02-03
*
py: Use mp_raise_msg helper function where appropriate.
Damien George
2016-10-17
*
py/objfloat, py/modmath: Ensure M_PI and M_E defined.
Colin Hogben
2016-05-12
*
py: Change first arg of type.make_new from mp_obj_t to mp_obj_type_t*.
Damien George
2016-01-11
*
py: Change type of .make_new and .call args: mp_uint_t becomes size_t.
Damien George
2016-01-11
*
py: Add support for 64-bit NaN-boxing object model, on 32-bit machine.
Damien George
2015-11-29
*
py: Wrap all obj-ptr conversions in MP_OBJ_TO_PTR/MP_OBJ_FROM_PTR.
Damien George
2015-11-29
*
py: Add object repr "C", where 30-bit floats are stuffed in obj word.
Damien George
2015-10-20
*
py: Make float representation configurable with object representation.
Damien George
2015-10-20
*
py: Move float e/pi consts to objfloat and make mp_obj_float_t private.
Damien George
2015-10-20
*
py: Add mp_obj_is_float function (macro) and use it where appropriate.
Damien George
2015-10-20
*
py: Rename MP_BOOL() to mp_obj_new_bool() for consistency in naming.
Paul Sokolovsky
2015-10-11
*
py: Add MP_BINARY_OP_DIVMOD to simplify and consolidate divmod builtin.
Damien George
2015-06-13
*
py: Implement mp_format_float for doubles and use where appropriate
stijn
2015-05-17
*
py: Fix printing of "inf" and "nan" floating point values.
Damien George
2015-04-22
[next]