MCPcopy Create free account
hub / github.com/DentonW/DevIL / GetLittleFloat

Function GetLittleFloat

DevIL/src-IL/src/il_endian.cpp:123–130  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

121}
122
123ILfloat GetLittleFloat() {
124 ILfloat f;
125 iread(&f, sizeof(ILfloat), 1);
126#ifdef __BIG_ENDIAN__
127 iSwapFloat(&f);
128#endif
129 return f;
130}
131
132ILdouble GetLittleDouble() {
133 ILdouble d;

Callers 3

iGetVtfHeadFunction · 0.85
iLoadUtxInternalFunction · 0.85
iLoadUtxInternalFunction · 0.85

Calls 1

iSwapFloatFunction · 0.85

Tested by

no test coverage detected