style: aplicar readability-uppercase-literal-suffix

- Cambiar todos los literales float de minúscula a mayúscula (1.0f → 1.0F)
- 657 correcciones aplicadas automáticamente con clang-tidy
- Check 1/N completado

🤖 Generated with Claude Code
This commit is contained in:
2025-12-18 13:06:48 +01:00
parent 44cd0857e0
commit bc94eff176
41 changed files with 705 additions and 594 deletions

86
reports/math-report.txt Normal file
View File

@@ -0,0 +1,86 @@
21 warnings generated.
/Users/sergio/orni/source/core/math/easing.hpp:11:14: error: invalid case style for function 'ease_out_quad' [readability-identifier-naming,-warnings-as-errors]
11 | inline float ease_out_quad(float t) {
| ^~~~~~~~~~~~~
| easeOutQuad
/Users/sergio/orni/source/core/math/easing.hpp:12:12: error: floating point literal has suffix 'f', which is not uppercase [readability-uppercase-literal-suffix,-warnings-as-errors]
12 | return 1.0f - (1.0f - t) * (1.0f - t);
| ^ ~
| F
/Users/sergio/orni/source/core/math/easing.hpp:12:19: error: '*' has higher precedence than '-'; add parentheses to explicitly specify the order of operations [readability-math-missing-parentheses,-warnings-as-errors]
12 | return 1.0f - (1.0f - t) * (1.0f - t);
| ^~~~~~~~~~~~~~~~~~~~~~~~
| ( )
/Users/sergio/orni/source/core/math/easing.hpp:12:20: error: floating point literal has suffix 'f', which is not uppercase [readability-uppercase-literal-suffix,-warnings-as-errors]
12 | return 1.0f - (1.0f - t) * (1.0f - t);
| ^ ~
| F
/Users/sergio/orni/source/core/math/easing.hpp:12:33: error: floating point literal has suffix 'f', which is not uppercase [readability-uppercase-literal-suffix,-warnings-as-errors]
12 | return 1.0f - (1.0f - t) * (1.0f - t);
| ^ ~
| F
/Users/sergio/orni/source/core/math/easing.hpp:18:14: error: invalid case style for function 'ease_in_quad' [readability-identifier-naming,-warnings-as-errors]
18 | inline float ease_in_quad(float t) {
| ^~~~~~~~~~~~
| easeInQuad
/Users/sergio/orni/source/core/math/easing.hpp:25:14: error: invalid case style for function 'ease_in_out_quad' [readability-identifier-naming,-warnings-as-errors]
25 | inline float ease_in_out_quad(float t) {
| ^~~~~~~~~~~~~~~~
| easeInOutQuad
/Users/sergio/orni/source/core/math/easing.hpp:26:17: error: floating point literal has suffix 'f', which is not uppercase [readability-uppercase-literal-suffix,-warnings-as-errors]
26 | return (t < 0.5f)
| ^ ~
| F
/Users/sergio/orni/source/core/math/easing.hpp:27:11: error: floating point literal has suffix 'f', which is not uppercase [readability-uppercase-literal-suffix,-warnings-as-errors]
27 | ? 2.0f * t * t
| ^ ~
| F
/Users/sergio/orni/source/core/math/easing.hpp:28:11: error: floating point literal has suffix 'f', which is not uppercase [readability-uppercase-literal-suffix,-warnings-as-errors]
28 | : 1.0f - (-2.0f * t + 2.0f) * (-2.0f * t + 2.0f) / 2.0f;
| ^ ~
| F
/Users/sergio/orni/source/core/math/easing.hpp:28:18: error: '/' has higher precedence than '-'; add parentheses to explicitly specify the order of operations [readability-math-missing-parentheses,-warnings-as-errors]
28 | : 1.0f - (-2.0f * t + 2.0f) * (-2.0f * t + 2.0f) / 2.0f;
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
| ( )
/Users/sergio/orni/source/core/math/easing.hpp:28:20: error: floating point literal has suffix 'f', which is not uppercase [readability-uppercase-literal-suffix,-warnings-as-errors]
28 | : 1.0f - (-2.0f * t + 2.0f) * (-2.0f * t + 2.0f) / 2.0f;
| ^ ~
| F
/Users/sergio/orni/source/core/math/easing.hpp:28:31: error: floating point literal has suffix 'f', which is not uppercase [readability-uppercase-literal-suffix,-warnings-as-errors]
28 | : 1.0f - (-2.0f * t + 2.0f) * (-2.0f * t + 2.0f) / 2.0f;
| ^ ~
| F
/Users/sergio/orni/source/core/math/easing.hpp:28:41: error: floating point literal has suffix 'f', which is not uppercase [readability-uppercase-literal-suffix,-warnings-as-errors]
28 | : 1.0f - (-2.0f * t + 2.0f) * (-2.0f * t + 2.0f) / 2.0f;
| ^ ~
| F
/Users/sergio/orni/source/core/math/easing.hpp:28:52: error: floating point literal has suffix 'f', which is not uppercase [readability-uppercase-literal-suffix,-warnings-as-errors]
28 | : 1.0f - (-2.0f * t + 2.0f) * (-2.0f * t + 2.0f) / 2.0f;
| ^ ~
| F
/Users/sergio/orni/source/core/math/easing.hpp:28:60: error: floating point literal has suffix 'f', which is not uppercase [readability-uppercase-literal-suffix,-warnings-as-errors]
28 | : 1.0f - (-2.0f * t + 2.0f) * (-2.0f * t + 2.0f) / 2.0f;
| ^ ~
| F
/Users/sergio/orni/source/core/math/easing.hpp:34:14: error: invalid case style for function 'ease_out_cubic' [readability-identifier-naming,-warnings-as-errors]
34 | inline float ease_out_cubic(float t) {
| ^~~~~~~~~~~~~~
| easeOutCubic
/Users/sergio/orni/source/core/math/easing.hpp:35:16: error: floating point literal has suffix 'f', which is not uppercase [readability-uppercase-literal-suffix,-warnings-as-errors]
35 | float t1 = 1.0f - t;
| ^ ~
| F
/Users/sergio/orni/source/core/math/easing.hpp:36:12: error: floating point literal has suffix 'f', which is not uppercase [readability-uppercase-literal-suffix,-warnings-as-errors]
36 | return 1.0f - t1 * t1 * t1;
| ^ ~
| F
/Users/sergio/orni/source/core/math/easing.hpp:36:19: error: '*' has higher precedence than '-'; add parentheses to explicitly specify the order of operations [readability-math-missing-parentheses,-warnings-as-errors]
36 | return 1.0f - t1 * t1 * t1;
| ^~~~~~~~~~~~~
| ( )
/Users/sergio/orni/source/core/math/easing.hpp:41:20: error: '*' has higher precedence than '+'; add parentheses to explicitly specify the order of operations [readability-math-missing-parentheses,-warnings-as-errors]
41 | return start + (end - start) * t;
| ^~~~~~~~~~~~~~~~~~
| ( )
21 warnings treated as errors