* perf: replace std::endl with newline char (performance-avoid-endl)
Replace all 133 occurrences of std::endl with '\n' across 6 files.
std::endl forces a flush on every call, '\n' does not.
Files: precompute.cpp, test_comprehensive.cpp, test_arithmetic_correctness.cpp,
test_exhaustive.cpp, bench_adaptive_glv.cpp, bench_glv_decomp_profile.cpp
* fix: mass clang-tidy auto-fix (const, init, braces, auto, endl)
Run clang-tidy --fix on all 98 source files using .clang-tidy config:
- misc-const-correctness: add const to unmodified locals
- cppcoreguidelines-init-variables: initialize variables at decl
- readability-braces-around-statements: add braces to single-line
- modernize-use-auto: use auto where type is obvious
- performance-avoid-endl: replace remaining endl with newline
Manual fixes for 4 false-positive const additions:
- ct_point.cpp: y3/z3/one52 used as fe52_cmov output params
- selftest.cpp: path used as _dupenv_s output param
- precompute.cpp: end used as strtoul output param
- test_fuzz_address_bip32_ffi.cpp: out used as ufsecp_ctx_clone output
Build: 0 errors. Tests: 25/25 pass.
* fix: clang-tidy manual fixes for headers + test widening cast
- ct_utils.hpp: const-qualify w0a-w3a load variables
- field_optimal.hpp: FieldTier enum use uint8_t base type (performance-enum-size)
- test_comprehensive.cpp: fix widening cast order (cast before add)
Build: 0 errors. Tests: 25/25 pass.