MCPcopy Create free account
hub / github.com/anjo76/angelscript / GetReturnedFloat

Function GetReturnedFloat

sdk/angelscript/source/as_callfunc_x86.cpp:1471–1487  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1469}
1470
1471asDWORD GetReturnedFloat()
1472{
1473 asDWORD f;
1474
1475#if defined ASM_INTEL
1476
1477 // Get the float value from ST0
1478 __asm fstp dword ptr [f]
1479
1480#elif defined ASM_AT_N_T
1481
1482 asm("fstps %0 \n" : "=m" (f));
1483
1484#endif
1485
1486 return f;
1487}
1488
1489asQWORD GetReturnedDouble()
1490{

Callers 2

CallSystemFunctionNativeFunction · 0.70
CallSystemFunctionNativeFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected