Skip to content

Check sizeof(double)#62

Merged
f-okuhara merged 1 commit intomasterfrom
check-sizeof-double
Nov 16, 2018
Merged

Check sizeof(double)#62
f-okuhara merged 1 commit intomasterfrom
check-sizeof-double

Conversation

@chibiegg
Copy link
Copy Markdown
Member

@chibiegg chibiegg commented Nov 16, 2018

On the Uno and other ATMEGA based boards, the double type occupies 4 bytes.
Arduino Reference

Since double values ​​are transmitted as 64-bit values, check the sizeof(double), and when it is 32 bits it is sent as a float type.

@f-okuhara f-okuhara merged commit 99df55c into master Nov 16, 2018
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.

2 participants