docs: update math API docs

This commit is contained in:
2026-03-20 02:35:15 +08:00
parent e165dbea1c
commit c5b17239ca
243 changed files with 5307 additions and 1327 deletions

View File

@@ -13,7 +13,7 @@ constexpr float EPSILON = 1e-6f;
float a = 0.1f + 0.2f;
float b = 0.3f;
if (Math::Abs(a - b) < Math::EPSILON) {
if (fabsf(a - b) < Math::EPSILON) {
// a 和 b 可以视为相等
}
```