summaryrefslogtreecommitdiffstatshomepage
path: root/py/objcomplex.c
diff options
context:
space:
mode:
authorDamien George <damien.p.george@gmail.com>2017-03-23 23:51:35 +1100
committerDamien George <damien.p.george@gmail.com>2017-03-23 23:51:35 +1100
commitc073519ec824145676edef88623496c1ded4fae5 (patch)
tree9ae49e1c768498ec34a92344380519eebbc9f58a /py/objcomplex.c
parentfebeff4af429483b41137f0befc70d14c9077ae1 (diff)
downloadmicropython-c073519ec824145676edef88623496c1ded4fae5.tar.gz
micropython-c073519ec824145676edef88623496c1ded4fae5.zip
py/objint: Handle special case of -0 when classifying fp as int.
Otherwise -0.0 is classified as a bigint, which for builds without bigints will lead unexpectedly to an overflow.
Diffstat (limited to 'py/objcomplex.c')
0 files changed, 0 insertions, 0 deletions