Leptoglanis

Leptoglanis is a genus of loach catfishes found in Africa. There are currently two described species in this genus.

Leptoglanis
Scientific classification
Kingdom: Animalia
Phylum: Chordata
Class: Actinopterygii
Order: Siluriformes
Family: Amphiliidae
Subfamily: Leptoglanidinae
Genus: Leptoglanis
Boulenger, 1902

Species

gollark: They are indeed both floats. However, floats can look identical when displayed (because they're not always displayed to the maximum precision or something) yet contain different values.
gollark: Your compiler probably has an option to provide extra warnings, which is often useful when debugging strange confusing things.
gollark: Bitwise NOT flips all the bits, logical NOT just does true → false and vice versa.
gollark: Have you tried compiling with whatever flag tells it to give you all warnings?
gollark: ~ is bitwise NOT and not logical NOT, so it might not be valid to use it for this, and by not valid I mean "æÆÆÆÆÆÆÆÆÆÆÆææææææææÆÆÆÆÆÆÆÆÆÆÆ undefined behaviour" (not really sure, but it might not like having a bool contain 255, and if you were to do ~true that would probably give 254, which is also bad).

References


    This article is issued from Wikipedia. The text is licensed under Creative Commons - Attribution - Sharealike. Additional terms may apply for the media files.