C++ Complementary Library
Returns a pointer to the application object.
Returns the number of digits in the input integer.
The integer to count digits in.
The radix of the integer to count digits in.
Returns true if the v1 and v2 floating-point values are equal up to the given number of decimal places. Otherwise, returns false. For example, 1.123 and 1.124 are equal up to two decimal places because they both end in .12, but they are not equal up to three decimal places because one ends in .123 and the other ends in .124, where the third decimal digit of each number is different.
Please note that this function is just an approximation, it is still subject to floating-point errors.
The first value to consider in the comparison.
The second value to consider in the comparison.
The number of decimal places that matter in the comparison.
Returns true if the v1 and v2 floating-point values are not equal up to the given number of decimal places. Otherwise, returns false. This is implemented as the negation of the result of calling cmp_equal with the same arguments.
Please note that this function is just an approximation, it is still subject to floating-point errors.
The first value to consider in the comparison.
The second value to consider in the comparison.
The number of decimal places that matter in the comparison.
Copyright © 2022-2025 Daniel T. McGinnis