Page 2 of 2

Re: Array copy m1=m2 works only on the first pass.

Posted: Wed Dec 02, 2015 4:27 am
by dhylands
There was a bug in the floating point print routine that was fixed recently.

With the latest firmware, this prints properly:

Code: Select all

>>> 0.3117148 * 3.20806
1.0

Re: Array copy m1=m2 works only on the first pass.

Posted: Wed Dec 02, 2015 12:18 pm
by JonHylands
I get 1.0 with my MicroPython board.

MicroPython v1.5.1-31-g0786716 on 2015-11-27; PYBv1.0 with STM32F405RG

Re: Array copy m1=m2 works only on the first pass.

Posted: Thu Dec 03, 2015 12:52 am
by deanr
The number does seem to work as one when multiplied. It does print 0.0 with "v1.5-134-g5be60d6 on 2015-11-14" .
Just loaded "v1.5.1-58-gb4eccfd on 2015-12-03" and it prints the right answer. Thanks.