Merge CultMath 0.2.4: erf and erfinv reach the Unity package
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
commit
6d5e209656
6 changed files with 23 additions and 2 deletions
|
|
@ -8,7 +8,7 @@
|
|||
<RootNamespace>CultMath</RootNamespace>
|
||||
<AssemblyName>CultMath</AssemblyName>
|
||||
<PackageId>GameCult.Math</PackageId>
|
||||
<Version>0.2.3</Version>
|
||||
<Version>0.2.4</Version>
|
||||
<Description>Clean-room C# math shaped for HLSL-style renderer code.</Description>
|
||||
<Authors>GameCult</Authors>
|
||||
<PackageReadmeFile>README.md</PackageReadmeFile>
|
||||
|
|
|
|||
19
packages/cultmath/unity/org.gamecult.cultmath/CHANGELOG.md
Normal file
19
packages/cultmath/unity/org.gamecult.cultmath/CHANGELOG.md
Normal file
|
|
@ -0,0 +1,19 @@
|
|||
# Changelog
|
||||
|
||||
All notable changes to this package are documented in this file.
|
||||
|
||||
Earlier releases (0.2.0-0.2.3) predate this package's changelog and are not
|
||||
backfilled here; see `docs/semver-policy.md` for why.
|
||||
|
||||
## [0.2.4]
|
||||
|
||||
### Added
|
||||
|
||||
- `math.erf` and `math.erfinv`: single-precision error function and its
|
||||
inverse. `erf` is the Abramowitz & Stegun 7.1.26 rational/exponential fit
|
||||
(max absolute error 1.5e-7 by that source, 6.621e-7 measured here against
|
||||
an independent reference). `erfinv` is Giles' minimax polynomial
|
||||
("Approximating the erfinv function", GPU Computing Gems, 2010), guarded
|
||||
explicitly at the domain edges (`erfinv(1) = +Infinity`,
|
||||
`erfinv(-1) = -Infinity`, outside `[-1, 1]` is `NaN`); measured worst
|
||||
absolute error 5.066e-7, worst `erf(erfinv(y))` round trip 6.109e-7.
|
||||
|
|
@ -0,0 +1,2 @@
|
|||
fileFormatVersion: 2
|
||||
guid: 0a6d25c5f7894c0d8e83f2b9d69358a4
|
||||
Binary file not shown.
Binary file not shown.
|
|
@ -1,7 +1,7 @@
|
|||
{
|
||||
"name": "org.gamecult.cultmath",
|
||||
"displayName": "CultMath",
|
||||
"version": "0.2.3",
|
||||
"version": "0.2.4",
|
||||
"unity": "2021.3",
|
||||
"description": "Precompiled CultMath numeric primitives and matching HLSL semantics for GameCult Unity runtimes.",
|
||||
"license": "MPL-2.0",
|
||||
|
|
|
|||
Loading…
Reference in a new issue