Better `rsqrt`
Java mod listed for Minecraft 1.14–1.17. Downloads from the MC Java Mods app on Android.
Replaces the constants Minecraft uses for their functions for calculating the reciprocal square root (aka rsqrt) with more accurate alternatives
⬇ Download on ModrinthBetter rsqrt
N.B.: The accuracy benefits of this is negligible at best, so don't expect anything big to happen. This is created purely because I want to, and I can.
Tested to work every version since 1.14 (v1.0.1)
Replaces the constant Minecraft uses in their fast reciprocal square root
(also known as InvSqrt or rsqrt) functions, to yield better accuracy:
| Function | Original Value | More Accurate™ Value |
|---|---|---|
fastInverseSqrt(float) |
0x5f3759df |
0x5f375a86 |
fastInverseSqrt(double) |
0x5fe6eb50c7b537aa |
0x5fe6eb50c7b537a9 |
Since Minecraft only use these functions in rendering, this "fix" should not affect world generation or other functions that rely on the vanilla result to yield expected results.
References
Both accessed on June 13th, 2021:
- Edition: Minecraft Java
- File type: .jar
- Minecraft versions listed: 18w43a, 18w43b, 18w43c
- How to install: Install the matching mod loader (Forge, Fabric or NeoForge) for your Minecraft version. → Download the .jar. → Put it in the .minecraft/mods folder and launch that loader profile.
- Where to get it: Opens on Modrinth — not every file is mirrored on our own servers.
Install steps are the general flow for this file type — How to install Minecraft Java mods & modpacks walks through it step by step.
- Ships as better-rsqrt-1.0.1.jar — drop this file into the mods folder
- Download size: 11 KB
- Download link checked 6 Nov 2026 — working
These come from our own check of the pack file, not from the source page.