MCPcopy Create free account
hub / github.com/TheAlgorithms/C / print_double_value

Function print_double_value

developer_tools/min_printf.h:210–227  ·  view source on GitHub ↗

* @brief The algorithm here is also the same as the `print_int_value` function * * @details * First, the digits before decimal is printed by converting the double * to int. Then after printed a `.`, the double number is subtracted with * the integer value of the number, leaving us with 0 before the decimal. * Then, we multiply the number with 10 raised to the power precision ( * precision

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 1

min_printfFunction · 0.85

Calls 4

get_number_of_digitsFunction · 0.85
print_int_valueFunction · 0.85
put_charFunction · 0.85
power_of_tenFunction · 0.85

Tested by

no test coverage detected