Better `rsqrt`
⚪ Last updated 2021⚠️ Install Order · 2 steps
Install in this order, then this mod last — most mods fail to load without their framework and dependencies in place.
Preview
🔍 Analysis
- 👍 1.4% endorsement rate — high engagement, a strong quality signal
- 🏆 #625 of 896 fabric mods in this game by downloads
📋 About This Mod
# Better `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 (https://en.wikipedia.org/wiki/Fast_inverse_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: - (https://lomont.org/papers/2003/InvSqrt.pdf) - (https://cs.uwaterloo.ca/~m32rober/rsqrt.pdf)
# Better `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 (https://en.wikipedia.org/wiki/Fast_inverse_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: - (https://lomont.org/papers/2003/InvSqrt.pdf) - (https://cs.uwaterloo.ca/~m32rober/rsqrt.pdf)
📊 Mod Details
- Game
- Minecraft Mods
- Author
- pluie
- Version
- v1.0.1
- Downloads
- 503
- Endorsements
- 7
- Category
- fabric
- Created
- 6/13/2021
- Updated
- 6/13/2021
- Game Versions
- 18w43a, 18w43b, 18w43c, 18w44a, 18w45a
- Tags
- utility
🔧 How to Install Minecraft Mods Mods
Download from Modrinth. Use Prism Launcher or drop into your mods folder.
📖 Full step-by-step install guide for Minecraft Mods →
Visit the official mod page for specific installation instructions for this mod.
🎮 Need cheat codes or console commands? Check ur gaming wiki for Minecraft Mods commands, item IDs, and more.
❓ Frequently Asked Questions
Which Minecraft Mods versions does Better `rsqrt` support?
The author lists 18w43a, 18w43b, 18w43c, 18w44a, 18w45a, 18w46a. Other versions may work but are untested by the author.
What is the latest version of Better `rsqrt`?
Version v1.0.1, published 2021-06-13 with 503 downloads recorded at the source.
Keep browsing — more Minecraft Mods mods await