/** Rule: FLP03-C
* Source: wiki
* Status: PASS - Compliant solution
*/voidfpOper_usingStatus(void){/* ... */double a =1e-40, b, c;float x =0, y;unsignedint rv =_clearfp();/* Store into y is inexact and underflows: */
y = a;
rv =_clearfp();/* rv has _SW_INEXACT and _SW_UNDERFLOW *//* Zero-divide */
b = y / x; rv =_clearfp();/* rv has _SW_ZERODIVIDE *//* Inexact */
c =sin(30)* a; rv =_clearfp();/* rv has _SW_INEXACT *//* ... */}