mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2025-08-20 07:38:54 +02:00
Add a macro for checking approximate values
A macro like this is useful to avoid direct comparisons between floating point values. https://gitlab.gnome.org/GNOME/glib/issues/914
This commit is contained in:
@@ -219,6 +219,7 @@ MAX
|
||||
<SUBSECTION>
|
||||
ABS
|
||||
CLAMP
|
||||
G_APPROX_VALUE
|
||||
|
||||
<SUBSECTION>
|
||||
G_STRUCT_MEMBER
|
||||
|
Reference in New Issue
Block a user