cpp-best-practices / cpp-best-practices/cppbestpractices

Underflow / overflow terms are used incorrectly

Open
#108 2 comments 0 reactions 0 assignees View on GitHub
Dominant language
No language data
Stars
8.8k
Forks
902
PR merge metrics
No merged PRs in 30d

Description

03-Style - line 368

The text mentions "integer underflow". There is no such thing. Underflow (that is, truncation to zero) happens only for floating point types.

https://stackoverflow.com/questions/6360049/what-are-arithmetic-underflow-and-overflow-in-c

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.