Search found 5 matches

by Jack-123
Thu Sep 13, 2018 5:21 am
Forum: MicroPython pyboard
Topic: Is there a bug in floating point arithmetic?
Replies: 2
Views: 1941

Re: Is there a bug in floating point arithmetic?

Thank you very much, Dhylands's answer.
by Jack-123
Wed Sep 12, 2018 9:50 am
Forum: MicroPython pyboard
Topic: Is there a bug in floating point arithmetic?
Replies: 2
Views: 1941

Is there a bug in floating point arithmetic?

Hello everyone, I found that the micropython c function mp_obj_float_get(mp_const_obj_t o) may have a bug, the output result is a deviation of the actual value, but the result of the upper layer code Python is correct. What should I do? Thank you for reading. ----------------------------------------...
by Jack-123
Mon Sep 10, 2018 7:07 am
Forum: MicroPython pyboard
Topic: undefined reference to `strtod' undefined reference to `strtol'
Replies: 7
Views: 4821

Re: undefined reference to `strtod' undefined reference to `strtol'

Thank you for your reply, I think I will still compile it with my own files.
by Jack-123
Wed Sep 05, 2018 8:34 am
Forum: MicroPython pyboard
Topic: undefined reference to `strtod' undefined reference to `strtol'
Replies: 7
Views: 4821

Re: undefined reference to `strtod' undefined reference to `strtol'

Thank you very much for your reply. I have a temporary solution: I wrote the `strtol' and `strtod' files myself, but I don't know what the pitfalls are. Here is my basic situation: 1. Ubuntu arm-none-eabi-gcc-4.9.3 2, makefile In addition to adding my package file, the other did not make changes 3. ...
by Jack-123
Wed Sep 05, 2018 2:39 am
Forum: MicroPython pyboard
Topic: undefined reference to `strtod' undefined reference to `strtol'
Replies: 7
Views: 4821

undefined reference to `strtod' undefined reference to `strtol'

Hello, I want to compile my own package into Micropython, but I am getting an error when compiling. The error message is:
undefined reference to strtod' undefined reference tostrtol'
How can I do? thank you.