Files
flatbuffers-bigfoot/include/flatbuffers
Felix 0e034ecdba [C++] Make code compile with -Wfloat-equal (#8221)
This will allow the code to be compiled with `-Wfloat-equal`
as this would result in the folowing warning/error:
vendor/flatbuffers/include/flatbuffers/base.h:465:69:
  error: comparing floating point with == or != is unsafe [-Werror,-Wfloat-equal]
template<typename T> inline bool IsTheSameAs(T e, T def) { return e == def; }

But the way it is used in flatbuffers it is ok to compare floating
points with ==.

Co-authored-by: Derek Bailey <derekbailey@google.com>
2024-05-29 02:52:14 +00:00
..
2023-05-09 09:16:30 -07:00
2023-05-09 09:16:30 -07:00
2023-01-07 19:40:03 -08:00
2023-04-06 01:49:29 +00:00
2023-11-18 00:19:03 -08:00
2023-05-10 16:41:39 -07:00
2023-05-09 09:16:30 -07:00
2023-05-11 18:14:27 -07:00
2023-05-11 12:23:49 -07:00
2024-05-29 01:07:34 +00:00