Skip to content

double-precision float - #1

Open
prabhu-yu wants to merge 2 commits into
masterfrom
double-precision-float
Open

double-precision float#1
prabhu-yu wants to merge 2 commits into
masterfrom
double-precision-float

Conversation

@prabhu-yu

@prabhu-yu prabhu-yu commented Jul 5, 2023

Copy link
Copy Markdown
Owner

Many applications demand higher precision.
Single precision float, which is default, can not provide it.
So, in such case, we need to enable double precision.
Also, double precision enables the code running on
RPI pico to get same result as that on Desktop Python
or Desktop microPython port.

Steps to compile

# clone this repo
cd micropython
git submodule update --init -- lib/pico-sdk lib/tinyusb
make -C mpy-cross
cd ports/rp2
make submodules
make
find . -name "*.uf2" # this is your file. typically ./build-PICO/firmware.uf2. Flash this to pico board

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant