double_equal


Description:

[ Version ( since = "2.22" ) ]
[ CCode ( cname = "g_double_equal" ) ]
public EqualFunc<double?> double_equal

Compares the two double values being pointed to and returns true if they are equal.

It can be passed to g_hash_table_new as the key_equal_func parameter, when using non-null pointers to doubles as keys in a GenericSet.

Parameters:

v1

a pointer to a double key

v2

a pointer to a double key to compare with v1

Returns:

true if the two keys match.


Namespace: GLib
Package: glib-2.0