MCPcopy Create free account
hub / github.com/doldecomp/mkdd / setFPException

Method setFPException

libs/JSystem/JUtility/JUTException.cpp:180–191  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

178}
179
180void JUTException::setFPException(u32 fpscr_enable_bits)
181{
182 __OSFpscrEnableBits = fpscr_enable_bits;
183 if (fpscr_enable_bits)
184 {
185 OSSetErrorHandler(OS_ERROR_FPE, (OSErrorHandler)errorHandler);
186 }
187 else
188 {
189 OSSetErrorHandler(OS_ERROR_FPE, nullptr);
190 }
191}
192
193void JUTException::showFloatSub(int index, f32 value)
194{

Callers

nothing calls this directly

Calls 1

OSSetErrorHandlerFunction · 0.85

Tested by

no test coverage detected