Searched refs:fraction (Results 1 – 3 of 3) sorted by relevance
204 long fraction; member209 return (long)(rng.mantissa * 1000 + rng.fraction / 10); in range_fixedpoint_to_long_mg()
97 MPL_LOGD("slave_accel->range.fraction= %02x\n", (int)mldl_cfg->accel->range.fraction); in mpu_print_cfg()113 MPL_LOGD("slave_compass->range.fraction= %02x\n", (int)mldl_cfg->compass->range.fraction); in mpu_print_cfg()129 MPL_LOGD("slave_pressure->range.fraction= %02x\n", (int)mldl_cfg->pressure->range.fraction); in mpu_print_cfg()
284 range.fraction = (long)((float)(x-(long)x)*PRECISION); \288 x += ((float)range.fraction/PRECISION); \