summaryrefslogtreecommitdiffstatshomepage
path: root/docs/esp8266/tutorial/index.rst
diff options
context:
space:
mode:
authorPaul Sokolovsky <pfalcon@users.sourceforge.net>2017-03-06 16:23:09 +0100
committerPaul Sokolovsky <pfalcon@users.sourceforge.net>2017-03-06 16:23:09 +0100
commit121fb88988fd4b4511476231943e999cf38b2866 (patch)
tree62ef99450f270331cb2932be7574c6800a00e91a /docs/esp8266/tutorial/index.rst
parent325c4473a5b760a2251a6e0e418abf218741fb1f (diff)
downloadmicropython-121fb88988fd4b4511476231943e999cf38b2866.tar.gz
micropython-121fb88988fd4b4511476231943e999cf38b2866.zip
float/float2int*: Make actually be parsable for MICROPY_LONGINT_IMPL_NONE.
The use of large literal numbers is a big no-no when it comes to writing programs which work with different int representations. Also, some checks are pretty adhoc (e.g using struct module to check for 64-bitness). This change bases entire detection on sys.maxsize and integer operarions, and thus more correct, even if longer. Note that this change doesn't mean that any of these tests can pass with anything but MPZ - even despite checking for various int representations, the tests aren't written to be portable among them.
Diffstat (limited to 'docs/esp8266/tutorial/index.rst')
0 files changed, 0 insertions, 0 deletions