Skip to main content
Arduino

You are not logged in. Your edit will be placed in a queue until it is peer reviewed.

We welcome edits that make the post easier to understand and more valuable for readers. Because community members review edits, please try to make the post substantially better than how you found it, for example, by fixing grammar or adding additional resources and hyperlinks.

Required fields*

Draft saved
Draft discarded
Cancel
2
  • 3
    I would use float so that anyone reading my code, who may not know about the non-standard AVR double, knows what precision to expect. But this is more personal preference than a hard rule (hence I do not consider it a "real" answer). Commented Feb 12, 2016 at 9:41
  • I think that's fairly solid reasoning; one might not expect the 'double' to really be a float if they're coming from another platform. Commented Feb 12, 2016 at 16:35

default

AltStyle によって変換されたページ (->オリジナル) /