mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2024-12-25 15:06:14 +01:00
gparamspecs: Define G_FLOAT_EPSILON as a float constant
Rather than defining it as a double constant. This introduces no functional changes, but does squash some `-Wfloat-conversion` warnings. Signed-off-by: Philip Withnall <pwithnall@gnome.org> Helps: #3405
This commit is contained in:
parent
b69fe111ec
commit
cdbfef3842
@ -37,7 +37,7 @@
|
|||||||
#include "gvaluearray.h"
|
#include "gvaluearray.h"
|
||||||
|
|
||||||
|
|
||||||
#define G_FLOAT_EPSILON (1e-30)
|
#define G_FLOAT_EPSILON (1e-30f)
|
||||||
#define G_DOUBLE_EPSILON (1e-90)
|
#define G_DOUBLE_EPSILON (1e-90)
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user