microsoft / GSL

Guidelines Support Library
Other
6.14k stars 738 forks source link

Suppress -Wfloat-equal warning #1043

Closed dmitrykobets-msft closed 2 years ago

dmitrykobets-msft commented 2 years ago

-Wfloat-equal is concerned with the floating-point comparison in gsl::narrow. However, the use of this comparison is by design.

Resolves #1038