MCPcopy Create free account
hub / github.com/HaxeFoundation/hxcpp / runFloat

Method runFloat

src/hx/cppia/Cppia.cpp:1039–1043  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1037 return result ? result->__ToInt() : 0;
1038 }
1039 Float runFloat(CppiaCtx *ctx) HXCPP_OVERRIDE
1040 {
1041 hx::Object *result = runObject(ctx);
1042 return result ? result->__ToDouble() : 0;
1043 }
1044 String runString(CppiaCtx *ctx) HXCPP_OVERRIDE
1045 {
1046 hx::Object *result = runObject(ctx);

Callers

nothing calls this directly

Calls 1

__ToDoubleMethod · 0.45

Tested by

no test coverage detected