Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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
123
ILfloat GetLittleFloat() {
124
ILfloat f;
125
iread(&f, sizeof(ILfloat), 1);
126
#ifdef __BIG_ENDIAN__
127
iSwapFloat(&f);
128
#endif
129
return f;
130
}
131
132
ILdouble GetLittleDouble() {
133
ILdouble d;
Callers
3
iGetVtfHead
Function · 0.85
iLoadUtxInternal
Function · 0.85
iLoadUtxInternal
Function · 0.85
Calls
1
iSwapFloat
Function · 0.85
Tested by
no test coverage detected