Pyboard D double precision

The official PYBD running MicroPython, and its accessories.
Target audience: Users with a PYBD
Post Reply
User avatar
rcolistete
Posts: 150
Joined: Thu Dec 31, 2015 3:12 pm
Location: Brazil

Pyboard D double precision

Post by rcolistete » Fri May 24, 2019 2:44 pm

Pyboard D SF6W has double precision in hardware. Is MicroPython pre-installed already supporting double precision as default ?

In MicroPython download page (http://micropython.org/download) I don't see any separate firmware for single and double precision for Pyboard D, only for Pyboard v1.x.

User avatar
jimmo
Posts: 667
Joined: Tue Aug 08, 2017 1:57 am
Location: Sydney, Australia

Re: Pyboard D double precision

Post by jimmo » Fri May 24, 2019 3:27 pm

Yes, it would appear so. I don't have an SF6 to confirm, but the config for the boards is below:

Code: Select all

$ grep MICROPY_FLOAT_IMPL boards/PYBD*/mpconfigboard.mk
boards/PYBD_SF2/mpconfigboard.mk:MICROPY_FLOAT_IMPL = single
boards/PYBD_SF3/mpconfigboard.mk:MICROPY_FLOAT_IMPL = single
boards/PYBD_SF6/mpconfigboard.mk:MICROPY_FLOAT_IMPL = double

Post Reply