Lines Matching defs:is_decimal
1734 const bool is_decimal = (data_type == ImGuiDataType_Float) || (data_type == ImGuiDataType_Double);
1736 const bool is_power = (power != 1.0f && is_decimal && has_min_max && (v_max - v_min < FLT_MAX));
1754 int decimal_precision = is_decimal ? ImParseFormatPrecision(format, 3) : 0;
1821 if (v_cur < v_min || (v_cur > *v && adjust_delta < 0.0f && !is_decimal))
1823 if (v_cur > v_max || (v_cur < *v && adjust_delta > 0.0f && !is_decimal))
2110 const bool is_decimal = (data_type == ImGuiDataType_Float) || (data_type == ImGuiDataType_Double);
2111 const bool is_power = (power != 1.0f) && is_decimal;
2117 if (!is_decimal && v_range >= 0) // v_range < 0 may happen on integer overflows
2171 const int decimal_precision = is_decimal ? ImParseFormatPrecision(format, 3) : 0;
2223 if (is_decimal)
2234 if (!is_decimal && v_new_off_floor < v_new_off_round)