Crates.io | quake-inverse-sqrt |
lib.rs | quake-inverse-sqrt |
version | 0.1.3 |
source | src |
created_at | 2022-05-23 13:25:45.892603 |
updated_at | 2022-05-26 10:50:17.329208 |
description | A rust implementation of the Quake Inverse Square root alghorithm |
homepage | |
repository | |
max_upload_size | |
id | 591789 |
size | 39,678 |
A simple rust implementation of the Quake III reverse square root alghorithm.
The main trait implementations are not marked as unsafe. However, given that
std::mem::transmute
is used under the hood undefined behaviour is always a possibility.
The library guarantees, however, that needed conversions are done between equally sized types.