doubleHash

fnuint doubleHash(const(void) * v)

Converts a pointer to a #gdouble to a hash value. It can be passed to [glib.hash_table.HashTable.new_] as the hash_func parameter, It can be passed to [glib.hash_table.HashTable.new_] as the hash_func parameter, when using non-null pointers to doubles as keys in a #GHashTable.

Parameters

va pointer to a #gdouble key

Returns

a hash value corresponding to the key.