Skip to content

double-precision float #1

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
Open

double-precision float #1

wants to merge 2 commits into from

Conversation

prabhu-yu
Copy link
Owner

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

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