< Summary

Information
Class: Lattice.Math.FPAtanLut
Assembly: Lattice
File(s): /home/runner/work/Sideline/Sideline/godot/scripts/lattice/Math/Generated/FPAtanLut.cs
Line coverage
100%
Covered lines: 20
Uncovered lines: 0
Coverable lines: 20
Total lines: 42
Line coverage: 100%
Branch coverage
N/A
Covered branches: 0
Total branches: 0
Branch coverage: N/A
Method coverage

Feature is only available for sponsors

Upgrade to PRO version

Metrics

MethodBranch coverage Crap Score Cyclomatic complexity Line coverage
.cctor()100%11100%

File(s)

/home/runner/work/Sideline/Sideline/godot/scripts/lattice/Math/Generated/FPAtanLut.cs

#LineLine coverage
 1// Copyright (c) 2026 Sideline Authors. All rights reserved.
 2// Licensed under GPL-3.0.
 3
 4// <auto-generated>
 5// 此文件由 LutGenerator 自动生成,请勿手动修改。
 6// 生成时间: 2026-03-13 06:52:50 UTC
 7// 类名: FPAtanLut
 8// </auto-generated>
 9
 10namespace Lattice.Math
 11{
 12
 13    /// <summary>
 14    /// 反正切查找表 - Atan(x), x ∈ [0, 1]
 15    /// <para>输出范围 [0, π/4] = [0, 51472]</para>
 16    /// </summary>
 17    internal static class FPAtanLut
 18    {
 19        public const int TableSize = 257;
 20
 121        public static readonly long[] Table = new long[]
 122        {
 123            0, 256, 512, 768, 1024, 1280, 1536, 1792, 2047, 2303, 2559, 2814, 3070, 3325, 3580, 3836,  // 0..15
 124            4091, 4346, 4600, 4855, 5110, 5364, 5618, 5872, 6126, 6380, 6633, 6887, 7140, 7392, 7645, 7898,  // 16..31
 125            8150, 8402, 8653, 8905, 9156, 9407, 9657, 9908, 10158, 10408, 10657, 10906, 11155, 11403, 11652, 11899,  // 
 126            12147, 12394, 12641, 12887, 13133, 13379, 13624, 13869, 14114, 14358, 14601, 14845, 15088, 15330, 15572, 158
 127            16055, 16296, 16536, 16776, 17015, 17254, 17492, 17730, 17968, 18205, 18441, 18677, 18913, 19148, 19382, 196
 128            19850, 20083, 20315, 20547, 20779, 21009, 21240, 21469, 21699, 21927, 22156, 22383, 22610, 22836, 23062, 232
 129            23512, 23737, 23960, 24183, 24406, 24627, 24849, 25069, 25289, 25509, 25727, 25946, 26163, 26380, 26597, 268
 130            27028, 27242, 27456, 27670, 27882, 28094, 28306, 28517, 28727, 28936, 29145, 29354, 29561, 29768, 29975, 301
 131            30386, 30590, 30794, 30997, 31200, 31402, 31603, 31803, 32003, 32203, 32401, 32600, 32797, 32994, 33190, 333
 132            33580, 33774, 33968, 34160, 34353, 34544, 34735, 34925, 35115, 35304, 35492, 35680, 35867, 36053, 36239, 364
 133            36608, 36792, 36975, 37158, 37340, 37521, 37701, 37881, 38060, 38239, 38417, 38594, 38771, 38947, 39123, 392
 134            39472, 39645, 39818, 39990, 40162, 40333, 40503, 40673, 40842, 41010, 41178, 41346, 41512, 41678, 41844, 420
 135            42172, 42336, 42499, 42661, 42823, 42984, 43145, 43304, 43464, 43622, 43780, 43938, 44095, 44251, 44407, 445
 136            44716, 44870, 45024, 45176, 45328, 45480, 45631, 45781, 45931, 46080, 46229, 46377, 46525, 46672, 46818, 469
 137            47109, 47254, 47398, 47542, 47685, 47827, 47969, 48111, 48251, 48392, 48531, 48671, 48809, 48947, 49085, 492
 138            49359, 49495, 49630, 49765, 49899, 50033, 50167, 50299, 50432, 50563, 50695, 50826, 50956, 51086, 51215, 513
 139            51472
 140        };
 41    }
 42}

Methods/Properties

.cctor()