FixedMathSharp 7.1.0

dotnet add package FixedMathSharp --version 7.1.0
                    
NuGet\Install-Package FixedMathSharp -Version 7.1.0
                    
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="FixedMathSharp" Version="7.1.0" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="FixedMathSharp" Version="7.1.0" />
                    
Directory.Packages.props
<PackageReference Include="FixedMathSharp" />
                    
Project file
For projects that support Central Package Management (CPM), copy this XML node into the solution Directory.Packages.props file to version the package.
paket add FixedMathSharp --version 7.1.0
                    
#r "nuget: FixedMathSharp, 7.1.0"
                    
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
#:package FixedMathSharp@7.1.0
                    
#:package directive can be used in C# file-based apps starting in .NET 10 preview 4. Copy this into a .cs file before any lines of code to reference the package.
#addin nuget:?package=FixedMathSharp&version=7.1.0
                    
Install as a Cake Addin
#tool nuget:?package=FixedMathSharp&version=7.1.0
                    
Install as a Cake Tool

FixedMathSharp

FixedMathSharp is a deterministic Q32.32 fixed-point math library for .NET games, simulations, procedural generation, tooling, and replays.

Install

dotnet add package FixedMathSharp

Use FixedMathSharp.Lean when you want the same math surface without a direct MemoryPack dependency. Both packages target .NET Standard 2.1 and .NET 8.

For Unity projects, use the dedicated FixedMathSharp-Unity packages.

Example

using FixedMathSharp;
using FixedMathSharp.Geometry;

Fixed64 tick = Fixed64.One / 60;
Vector3d velocity = new(6, 0, 2);
Vector3d position = velocity * tick;

FixedQuaternion rotation = FixedQuaternion.FromAxisAngle(
    Vector3d.Up,
    Fixed64.PiOver4);

Vector3d heading = rotation.Rotate(Vector3d.Forward);
FixedBoundSphere world = new(Vector3d.Zero, new Fixed64(100));
bool inside = world.Contains(position);

The package includes Fixed64, FixedMath, 2D/3D/4D vectors, FixedQuaternion, Fixed3x3, Fixed4x4, FixedTransform, deterministic random streams, curves, ranges, bounds, and computational geometry.

Learn more

FixedMathSharp is licensed under the MIT License.

Product Compatible and additional computed target framework versions.
.NET net5.0 was computed.  net5.0-windows was computed.  net6.0 was computed.  net6.0-android was computed.  net6.0-ios was computed.  net6.0-maccatalyst was computed.  net6.0-macos was computed.  net6.0-tvos was computed.  net6.0-windows was computed.  net7.0 was computed.  net7.0-android was computed.  net7.0-ios was computed.  net7.0-maccatalyst was computed.  net7.0-macos was computed.  net7.0-tvos was computed.  net7.0-windows was computed.  net8.0 is compatible.  net8.0-android was computed.  net8.0-browser was computed.  net8.0-ios was computed.  net8.0-maccatalyst was computed.  net8.0-macos was computed.  net8.0-tvos was computed.  net8.0-windows was computed.  net9.0 was computed.  net9.0-android was computed.  net9.0-browser was computed.  net9.0-ios was computed.  net9.0-maccatalyst was computed.  net9.0-macos was computed.  net9.0-tvos was computed.  net9.0-windows was computed.  net10.0 was computed.  net10.0-android was computed.  net10.0-browser was computed.  net10.0-ios was computed.  net10.0-maccatalyst was computed.  net10.0-macos was computed.  net10.0-tvos was computed.  net10.0-windows was computed. 
.NET Core netcoreapp3.0 was computed.  netcoreapp3.1 was computed. 
.NET Standard netstandard2.1 is compatible. 
MonoAndroid monoandroid was computed. 
MonoMac monomac was computed. 
MonoTouch monotouch was computed. 
Tizen tizen60 was computed. 
Xamarin.iOS xamarinios was computed. 
Xamarin.Mac xamarinmac was computed. 
Xamarin.TVOS xamarintvos was computed. 
Xamarin.WatchOS xamarinwatchos was computed. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

NuGet packages (8)

Showing the top 5 NuGet packages that depend on FixedMathSharp:

Package Downloads
CUE4Parse

C# Parser for Unreal Engine packages & assets

GridForge

A high-performance, deterministic rectangular and hex-prism voxel grid system for spatial partitioning, simulation, and game development.

AbioticEditor.Core

The engine behind the Abiotic Factor save editor: byte-exact GVAS save reading/writing, the player/world/metadata save models, game-data catalogs (items, recipes, skills, quest flags), and the plugin host. The desktop app and CLI are thin front-ends over this library. Bundles the Apache-2.0 UeSaveGame.Json and CUE4Parse assemblies it builds against.

SwiftCollections.FixedMathSharp

FixedMathSharp companion package for SwiftCollections query volume integrations.

FixedMathSharp.FluentAssertions

FluentAssertions extensions for FixedMathSharp types, including Fixed64, vectors, quaternions, and matrices.

GitHub repositories (1)

Showing the top 1 popular GitHub repositories that depend on FixedMathSharp:

Repository Stars
FabianFG/CUE4Parse
Version Downloads Last Updated
7.1.0 37 8/23/2026
7.0.0 344 8/4/2026
6.0.0 374 6/30/2026
5.0.2 467 6/20/2026
5.0.1 319 6/16/2026
5.0.0 219 6/9/2026
4.0.1 15,200 6/1/2026
4.0.0 1,048 5/18/2026
3.0.1 739 4/18/2026
3.0.0 172 4/14/2026
2.1.1 261 4/1/2026
2.1.0 1,351 3/7/2026
2.0.0 198 3/4/2026
1.3.4 184 2/12/2026
1.3.3 11,153 10/1/2025
1.3.2 944 7/11/2025
1.3.1 220 6/20/2025
1.3.0 289 6/14/2025
1.2.3 229 6/7/2025
1.2.2 638 3/11/2025
Loading failed