mirror of
https://github.com/godotengine/godot.git
synced 2024-11-22 12:12:28 +00:00
09a905ca80
Fixes #34541 Renamed MAX_DIGITS to MAX_DECIMALS, since it only changes the amount of digits after the decimal point. Increased MAX_DECIMALS to 32, and made String::num use MAX_DECIMALS consistently. If -1 is passed as decimal precision to String::num, it now gets changed to the correct precision based on the number's magnitude, instead of using printf default(which is 6) String::num_real also calculates the correct precision now. Also made the types used in floating-point math more consistent in a few places. |
||
---|---|---|
.. | ||
node_path.cpp | ||
node_path.h | ||
optimized_translation.cpp | ||
optimized_translation.h | ||
print_string.cpp | ||
print_string.h | ||
SCsub | ||
string_buffer.h | ||
string_builder.cpp | ||
string_builder.h | ||
string_name.cpp | ||
string_name.h | ||
translation_po.cpp | ||
translation_po.h | ||
translation.cpp | ||
translation.h | ||
ucaps.h | ||
ustring.cpp | ||
ustring.h |