Skip to main content

quake 3's fastest inverse square root

This module is a port from Quake 3's inverse square root algorithm.

Installation

  1. Get yourself a C compiler (like gcc, clang or msvc)
  2. Run python setup.py install
  3. Enjoy!

Build

  1. Get yourself a C compiler (like gcc, clang or msvc)
  2. Run python setup.py build bdist_wheel sdist
  3. Check the dist folder for the wheel and source distribution

Documentation

quake_inverse_sq.coarse_inv_sqrt(number: float) -> float
This is fastest inverse square root algorithm. It is not as accurate as the quake_inverse_sq.fined_inv_sqrt function, but it is much faster. It is implemented from this wikipedia

quake_inverse_sq.fined_inv_sqrt(number: float) -> float This is the original inverse square root algorithm. It is more accurate than the quake_inverse_sq.coarse_inv_sqrt function, but it is slower. It is implemented from math.h

Metadata

Release files for quake-inverse-squareroot 0.0.4

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for quake-inverse-squareroot 0.0.4
File Size Uploaded
quake-inverse-squareroot-0.0.4.tar.gz 3.1 kB Details

Built distributions (wheels)

Table of built distributions (wheels) for quake-inverse-squareroot 0.0.4
File
quake_inverse_squareroot-0.0.4-py3-none-any.whl Python 3 none any Details
quake_inverse_squareroot-0.0.4-pp39-pypy39_pp73-win_amd64.whl PyPy 3.9 PyPy 3.9 7.3 Windows x86-64 Details
quake_inverse_squareroot-0.0.4-pp39-pypy39_pp73-manylinux_2_5_x86_64.manylinux1_x86_64.whl PyPy 3.9 PyPy 3.9 7.3 Linux glibc 2.5+ x86-64 Details
quake_inverse_squareroot-0.0.4-cp311-cp311-win_amd64.whl CPython 3.11 CPython 3.11 Windows x86-64 Details
quake_inverse_squareroot-0.0.4-cp311-cp311-manylinux_2_5_x86_64.manylinux1_x86_64.whl CPython 3.11 CPython 3.11 Linux glibc 2.5+ x86-64 Details
quake_inverse_squareroot-0.0.4-cp310-cp310-win_amd64.whl CPython 3.10 CPython 3.10 Windows x86-64 Details
quake_inverse_squareroot-0.0.4-cp310-cp310-manylinux_2_5_x86_64.manylinux1_x86_64.whl CPython 3.10 CPython 3.10 Linux glibc 2.5+ x86-64 Details
quake_inverse_squareroot-0.0.4-cp39-cp39-win_amd64.whl CPython 3.9 CPython 3.9 Windows x86-64 Details
quake_inverse_squareroot-0.0.4-cp39-cp39-manylinux_2_5_x86_64.manylinux1_x86_64.whl CPython 3.9 CPython 3.9 Linux glibc 2.5+ x86-64 Details
quake_inverse_squareroot-0.0.4-cp38-cp38-win_amd64.whl CPython 3.8 CPython 3.8 Windows x86-64 Details
quake_inverse_squareroot-0.0.4-cp38-cp38-manylinux_2_5_x86_64.manylinux1_x86_64.whl CPython 3.8 CPython 3.8 Linux glibc 2.5+ x86-64 Details
quake_inverse_squareroot-0.0.4-cp37-cp37m-win_amd64.whl CPython 3.7 CPython 3.7 pymalloc Windows x86-64 Details
quake_inverse_squareroot-0.0.4-cp37-cp37m-manylinux_2_5_x86_64.manylinux1_x86_64.whl CPython 3.7 CPython 3.7 pymalloc Linux glibc 2.5+ x86-64 Details
quake_inverse_squareroot-0.0.4-cp36-cp36m-win_amd64.whl CPython 3.6 CPython 3.6 pymalloc Windows x86-64 Details
quake_inverse_squareroot-0.0.4-cp36-cp36m-manylinux_2_5_x86_64.manylinux1_x86_64.whl CPython 3.6 CPython 3.6 pymalloc Linux glibc 2.5+ x86-64 Details
quake_inverse_squareroot-0.0.4-cp35-cp35m-win_amd64.whl CPython 3.5 CPython 3.5 pymalloc Windows x86-64 Details
quake_inverse_squareroot-0.0.4-cp35-cp35m-manylinux_2_5_x86_64.manylinux1_x86_64.whl CPython 3.5 CPython 3.5 pymalloc Linux glibc 2.5+ x86-64 Details

Total release size: 801.4 kB

Release files / quake-inverse-squareroot-0.0.4.tar.gz

Download URL quake-inverse-squareroot-0.0.4.tar.gz
Size 3.1 kB
Tags Source
SHA-256 checksum
How to use checksums
f86835dd8afa1c2af777afb0e1ae48437202d91cf7260ae77550a49988174606
BLAKE2b-256 checksum
How to use checksums
255e9e6516e452360df04824051f9cb130f89938ac6e3ba996e8612a9d7439e0
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.1 CPython/3.9.7

Release files / quake_inverse_squareroot-0.0.4-py3-none-any.whl

Download URL quake_inverse_squareroot-0.0.4-py3-none-any.whl
Size 2.7 kB
Tags Python 3
SHA-256 checksum
How to use checksums
cee428f1eac62104b76f44a2d1ac215faecfbf2d67b49c0dc0ec8f03ac587113
BLAKE2b-256 checksum
How to use checksums
b7ec1c98c100574405e6dd17988ae96e3fe24482b25f90897eba0e20cc1a9e6d
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.1 CPython/3.9.7

Release files / quake_inverse_squareroot-0.0.4-pp39-pypy39_pp73-win_amd64.whl

Download URL quake_inverse_squareroot-0.0.4-pp39-pypy39_pp73-win_amd64.whl
Size 69.4 kB
Tags PyPy 3.9 PyPy 3.9 7.3 Windows x86-64
SHA-256 checksum
How to use checksums
2662bd9e0db2ff9950297edc28b80e878a011a770a1b143ca2927852f92d08de
BLAKE2b-256 checksum
How to use checksums
aed2f973aef09826d253fbae546980c8fb04de5bf10cb9ca6b8f63fa25794e88
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.1 CPython/3.9.7

Release files / quake_inverse_squareroot-0.0.4-pp39-pypy39_pp73-manylinux_2_5_x86_64.manylinux1_x86_64.whl

Download URL quake_inverse_squareroot-0.0.4-pp39-pypy39_pp73-manylinux_2_5_x86_64.manylinux1_x86_64.whl
Size 18.7 kB
Tags Linux glibc 2.5+ x86-64 PyPy 3.9 PyPy 3.9 7.3
SHA-256 checksum
How to use checksums
17c649543acbf3efb6379b758e8f7091e428a3d2134e368c2db71b4450e3c935
BLAKE2b-256 checksum
How to use checksums
63095edaad4256654df90d7a2a6cdbda10cf75448fc53cba9bcf118819f82e52
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.1 CPython/3.9.7

Release files / quake_inverse_squareroot-0.0.4-cp311-cp311-win_amd64.whl

Download URL quake_inverse_squareroot-0.0.4-cp311-cp311-win_amd64.whl
Size 70.7 kB
Tags CPython 3.11 Windows x86-64
SHA-256 checksum
How to use checksums
036800f60f5dd4d5bb543c70800a7a8a45f3074c3304c6bf36f735b16aad6dcf
BLAKE2b-256 checksum
How to use checksums
1dc00f299eda40b7ec1ccf76028641ba8f8635a156b483d69bea89b4326b7111
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.1 CPython/3.9.7

Release files / quake_inverse_squareroot-0.0.4-cp311-cp311-manylinux_2_5_x86_64.manylinux1_x86_64.whl

Download URL quake_inverse_squareroot-0.0.4-cp311-cp311-manylinux_2_5_x86_64.manylinux1_x86_64.whl
Size 32.8 kB
Tags CPython 3.11 Linux glibc 2.5+ x86-64
SHA-256 checksum
How to use checksums
299e1eab234297dbc5e647853342dc86d987938320c32335879378f4461a78a9
BLAKE2b-256 checksum
How to use checksums
ed51076d8f4ad2354de5c5b595b840143ec707ca6d32fa9edf5af35f181fc695
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.1 CPython/3.9.7

Release files / quake_inverse_squareroot-0.0.4-cp310-cp310-win_amd64.whl

Download URL quake_inverse_squareroot-0.0.4-cp310-cp310-win_amd64.whl
Size 71.1 kB
Tags CPython 3.10 Windows x86-64
SHA-256 checksum
How to use checksums
edcae917040f8f15d16cd7b7648521d3160d68c58fd30ecf9f8777cbd656e86e
BLAKE2b-256 checksum
How to use checksums
aaaf745d76da5f12e66f79a7296987464804a6231b0559006b585347d9f116f5
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.1 CPython/3.9.7

Release files / quake_inverse_squareroot-0.0.4-cp310-cp310-manylinux_2_5_x86_64.manylinux1_x86_64.whl

Download URL quake_inverse_squareroot-0.0.4-cp310-cp310-manylinux_2_5_x86_64.manylinux1_x86_64.whl
Size 31.1 kB
Tags CPython 3.10 Linux glibc 2.5+ x86-64
SHA-256 checksum
How to use checksums
5876319de461a43bad8f95d296acdd49673fe345fec5551aa53a25b46295bd04
BLAKE2b-256 checksum
How to use checksums
18780470404e703a5f059086222311c32112972e5b7d6ed8e8b070d5f9ad652f
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.1 CPython/3.9.7

Release files / quake_inverse_squareroot-0.0.4-cp39-cp39-win_amd64.whl

Download URL quake_inverse_squareroot-0.0.4-cp39-cp39-win_amd64.whl
Size 69.9 kB
Tags CPython 3.9 Windows x86-64
SHA-256 checksum
How to use checksums
85ddc250c8ff477f764d36edd2c5c4c9c5bca1c03b148a0563b6842a8aa9dd7a
BLAKE2b-256 checksum
How to use checksums
4d8826ecbc2d7ed730c8c1d4dba7fde412373b421d12e8fb6a44f5c3d31a83d7
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.1 CPython/3.9.7

Release files / quake_inverse_squareroot-0.0.4-cp39-cp39-manylinux_2_5_x86_64.manylinux1_x86_64.whl

Download URL quake_inverse_squareroot-0.0.4-cp39-cp39-manylinux_2_5_x86_64.manylinux1_x86_64.whl
Size 30.7 kB
Tags CPython 3.9 Linux glibc 2.5+ x86-64
SHA-256 checksum
How to use checksums
dabec1c10e132ec08f2d65103d9a5740638d2008a3b0e419620cc9ec3c0f6e73
BLAKE2b-256 checksum
How to use checksums
8abc09cbdec1ce7cf47692bed10599fb03954008e5725677b54f1dabdf5a775b
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.1 CPython/3.9.7

Release files / quake_inverse_squareroot-0.0.4-cp38-cp38-win_amd64.whl

Download URL quake_inverse_squareroot-0.0.4-cp38-cp38-win_amd64.whl
Size 71.1 kB
Tags CPython 3.8 Windows x86-64
SHA-256 checksum
How to use checksums
e363b84b94127dd7ad49f98c48115f59c62209c34eafdb311928d5259c9983c6
BLAKE2b-256 checksum
How to use checksums
e50ed4c04ef6968d51ff69c518f23735449b8b64ca8826184a582d0c0ca95a8b
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.1 CPython/3.9.7

Release files / quake_inverse_squareroot-0.0.4-cp38-cp38-manylinux_2_5_x86_64.manylinux1_x86_64.whl

Download URL quake_inverse_squareroot-0.0.4-cp38-cp38-manylinux_2_5_x86_64.manylinux1_x86_64.whl
Size 31.3 kB
Tags CPython 3.8 Linux glibc 2.5+ x86-64
SHA-256 checksum
How to use checksums
52332f71f2e1880cef1c86642087a389ff67bcebd74d7a83d0555bffe2cad2d8
BLAKE2b-256 checksum
How to use checksums
abc03fcd83cb2bb6aea1e0443a1a82036f87438e662b2e5babb90aa941e5db16
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.1 CPython/3.9.7

Release files / quake_inverse_squareroot-0.0.4-cp37-cp37m-win_amd64.whl

Download URL quake_inverse_squareroot-0.0.4-cp37-cp37m-win_amd64.whl
Size 68.7 kB
Tags CPython 3.7 CPython 3.7 pymalloc Windows x86-64
SHA-256 checksum
How to use checksums
40a954bcf559c27809f0f35b86c337803029b35f3187ee87af60ffe2313dccad
BLAKE2b-256 checksum
How to use checksums
a5275b8cb99b3241004b1dae1d858b4b0bf93a99be48a2ad715b1561edaa9626
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.1 CPython/3.9.7

Release files / quake_inverse_squareroot-0.0.4-cp37-cp37m-manylinux_2_5_x86_64.manylinux1_x86_64.whl

Download URL quake_inverse_squareroot-0.0.4-cp37-cp37m-manylinux_2_5_x86_64.manylinux1_x86_64.whl
Size 33.1 kB
Tags CPython 3.7 CPython 3.7 pymalloc Linux glibc 2.5+ x86-64
SHA-256 checksum
How to use checksums
9beeb12e154d6507bb16347efad08218ec871def941d1589d0de740bf0bf5e3f
BLAKE2b-256 checksum
How to use checksums
d35abfe980ab152356480c467eb4ab67b1dddc1322073d7c3047f4822140fbd6
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.1 CPython/3.9.7

Release files / quake_inverse_squareroot-0.0.4-cp36-cp36m-win_amd64.whl

Download URL quake_inverse_squareroot-0.0.4-cp36-cp36m-win_amd64.whl
Size 67.7 kB
Tags CPython 3.6 CPython 3.6 pymalloc Windows x86-64
SHA-256 checksum
How to use checksums
f6f7d751aa49d0be82149aad13ca79515d74100e95c1c7547dd51d9d434c5564
BLAKE2b-256 checksum
How to use checksums
be81e8fd0f3b6b3ec5208f2631948becb3c5dc977b68bc0fe055b34a00b2557b
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.1 CPython/3.9.7

Release files / quake_inverse_squareroot-0.0.4-cp36-cp36m-manylinux_2_5_x86_64.manylinux1_x86_64.whl

Download URL quake_inverse_squareroot-0.0.4-cp36-cp36m-manylinux_2_5_x86_64.manylinux1_x86_64.whl
Size 31.3 kB
Tags CPython 3.6 CPython 3.6 pymalloc Linux glibc 2.5+ x86-64
SHA-256 checksum
How to use checksums
53d03bb9381349a875e7864f23e81ad40655ef87336ba7651dcb537db0a51c45
BLAKE2b-256 checksum
How to use checksums
000329b81d7e9ade826d6be132002cc2290f9db09aff1745135e797be5456268
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.1 CPython/3.9.7

Release files / quake_inverse_squareroot-0.0.4-cp35-cp35m-win_amd64.whl

Download URL quake_inverse_squareroot-0.0.4-cp35-cp35m-win_amd64.whl
Size 67.5 kB
Tags CPython 3.5 CPython 3.5 pymalloc Windows x86-64
SHA-256 checksum
How to use checksums
22f07c0a0617814ba6cfa22560f0c194c2af0ac0bec56d3593b0746208e6ffe7
BLAKE2b-256 checksum
How to use checksums
7d7eec08b51333ce7810061e0ebdbfe7d035c30a71dfab0af891fed5ed355f35
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.1 CPython/3.9.7

Release files / quake_inverse_squareroot-0.0.4-cp35-cp35m-manylinux_2_5_x86_64.manylinux1_x86_64.whl

Download URL quake_inverse_squareroot-0.0.4-cp35-cp35m-manylinux_2_5_x86_64.manylinux1_x86_64.whl
Size 30.8 kB
Tags CPython 3.5 CPython 3.5 pymalloc Linux glibc 2.5+ x86-64
SHA-256 checksum
How to use checksums
f68bf3b404a276de698620cced9c960a6f535c3aac8bafec85a265b7fb238e8e
BLAKE2b-256 checksum
How to use checksums
1beaaf34396318a595879d719a2c927076e2b570664da0e18a19eddc33d0e52f
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.1 CPython/3.9.7

Release history Release notifications | RSS feed

This release

0.0.4 This release

18 release files

0.0.3

17 release files

0.0.2

17 release files

0.0.1

17 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page