1
0
mirror of https://github.com/godotengine/godot.git synced 2025-11-09 12:50:35 +00:00

Core: Replace C math headers with C++ equivalents

- Minor restructuring to ensure `math_funcs.h` is the central point for math functions
This commit is contained in:
Thaddeus Crews
2025-03-19 14:18:09 -05:00
parent c5c1cd4440
commit ad40939b6f
101 changed files with 414 additions and 498 deletions

View File

@@ -3724,7 +3724,7 @@ void CodeEdit::_text_changed() {
}
int lc = get_line_count();
int new_line_number_digits = log10l(lc) + 1;
int new_line_number_digits = std::log10(lc) + 1;
if (line_number_digits != new_line_number_digits) {
_clear_line_number_text_cache();
}