Add a macro for checking approximate values
commit24e98e38d616f64d68c86747dc38e657145bf38b
authorEmmanuele Bassi <ebassi@gnome.org>
Wed, 8 Feb 2017 17:34:23 +0000 (8 17:34 +0000)
committerEmmanuele Bassi <ebassi@gnome.org>
Tue, 29 May 2018 08:55:47 +0000 (29 09:55 +0100)
tree137198fb9e51906b8f17d6536ed5c679b84c844b
parent61ccf733ccf1f64760553f6915fc7264ca1af1d6
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
docs/reference/glib/glib-sections.txt
glib/docs.c
glib/gmacros.h