Новый: 🌐 Language: English | Русский
High-precision computation of the Ni constant (η_ν) — the quantum energy scattering constant — in Rust, with multiple selectable backends.
η_ν = 1.88937666040491913115597775087642096081019761538215...
Author of the hypothesis: NiZaMinius
The quantum energy scattering constant
The value of the Ni Number is strictly fixed mathematically and is approximately equal to 1.8893766...
Modern physics postulates the existence of hidden, compactified spatial dimensions (Calabi–Yau manifolds). This concept asserts that when particles approach each other at distances smaller than the size of an atomic nucleus, a fraction of the virtual bosons (interaction carriers) scatters into that hidden volume. The Ni Number is the exact measure of the energy fraction that leaves the three-dimensional brane.
The constant is defined by a series normalized over all Kaluza–Klein spectral modes:
The index
Each element of the formula has a rigorous justification in differential geometry and string theory:
Powers of
The appearance of the factorial is a direct consequence of the differential geometry of complex Kähler manifolds (Calabi–Yau spaces).
To compute the physical volume of such a manifold, one must integrate its fundamental volume form, which is built from the Kähler 2-form (
Due to the anticommutativity of the exterior product (which accounts for axis orientations), multiplication produces a vast number of overlapping coordinate permutations. Mathematics requires dividing the integral by the count of these permutations (
In the physics of continuous processes, damping is typically governed by Euler's number
In the matrix models of M-theory (e.g., BFSS), interactions between branes are described by
The total number of microstates is
According to this hypothesis, the classical inverse-square laws (Newton and Coulomb) break down at sub-Planckian distances, as predicted by models with extra dimensions (e.g., Randall–Sundrum theory).
The Ni Number (
The modified force law is:
where
Physical meaning:
| Regime | Physics |
|---|---|
|
|
The Planck fraction → 0, denominator → 1, classical law is recovered |
|
|
Multi-dimensional physics activates; η_ν sets the "bandwidth" of the quantum portal; interaction carriers leak into the geometric pores of the manifold, causing a sharp drop in the registered force |
Add to your Cargo.toml:
# Default — pure Rust, works everywhere, no system dependencies
[dependencies]
ni-number = "0.2"ni-number ships three selectable computation backends:
| Feature | Backend | System deps | Precision |
|---|---|---|---|
backend-dashu |
pure Rust (default) | none | arbitrary |
backend-rug |
GNU MPFR | GMP + MPFR | arbitrary |
backend-f64 |
native f64 | none | ~15 digits |
Default (pure Rust, recommended):
[dependencies]
ni-number = "0.2"Maximum performance via GNU MPFR:
[dependencies]
ni-number = { version = "0.2", default-features = false, features = ["backend-rug"] }Minimal footprint (embedded / WASM):
[dependencies]
ni-number = { version = "0.2", default-features = false, features = ["backend-f64"] }Only needed if you explicitly enable features = ["backend-rug"].
Ubuntu / Debian
sudo apt-get install libgmp-dev libmpfr-dev libmpc-devmacOS (Homebrew)
brew install gmp mpfr libmpcWindows (MSYS2)
- Install MSYS2
- In the MSYS2 MinGW64 terminal:
pacman -S --needed base-devel mingw-w64-x86_64-toolchain m4 make mingw-w64-x86_64-gmp mingw-w64-x86_64-mpfr- Add to PATH in Git Bash (
~/.bashrc):
export PATH="/c/msys64/mingw64/bin:/c/msys64/usr/bin:$PATH"- Switch Rust toolchain:
rustup toolchain install stable-x86_64-pc-windows-gnu
rustup default stable-x86_64-pc-windows-gnuuse ni_number::{NI_F64, ni_number_digits, ni_number, bits_for_digits};
use ni_number::backend::NiFloat;
fn main() {
// Fast f64 constant — no computation, pre-baked (~15 digits)
println!("η_ν ≈ {:.15}", NI_F64);
// 100 decimal digits as String — result is cached after first call
let s = ni_number_digits(100);
println!("η_ν = {}", s);
// Arbitrary-precision value for further computation
let eta = ni_number(bits_for_digits(500));
println!("{}", eta.to_decimal_string(500));
}# Basic demo
cargo run --example basic --release
# High-precision benchmark
cargo run --example high_precision --release| Item | Returns | Description |
|---|---|---|
NI_F64 |
f64 |
Pre-computed constant at double precision |
NI_F32 |
f32 |
Pre-computed constant at single precision |
NI_50_DIGITS |
&str |
First 50 decimal digits, static string |
ni_number(bits) |
backend float | Full arbitrary-precision value, cached |
ni_number_digits(n) |
String |
Decimal string with n digits after the point, cached |
ni_series(bits) |
NiSeries |
Lazy iterator over series terms |
bits_for_digits(n) |
u32 |
Bit precision needed for n decimal digits |
clear_cache() |
() |
Free cached values from memory |
The series converges in fewer than 10 iterations for any practical precision level — viable even on low-end hardware. Results are cached after the first call — subsequent calls at the same precision are instant.
| Time (release build, dashu) |
| Digits | dashu (series) | dashu (total) | rug (total) |
|---|---|---|---|
| 100 | ~0.14 ms | ~0.14 ms | ~0.1 ms |
| 1 000 | ~0.9 ms | ~0.9 ms | ~0.6 ms |
| 5 000 | ~13.5 ms | ~13.5 ms | ~10.9 ms |
| 10 000 | ~146 ms | ~449 s | ~52 ms |
# Default backend (dashu)
cargo test
# With rug backend
cargo test --no-default-features --features backend-rug
# With f64 backend
cargo test --no-default-features --features backend-f64MIT — see LICENSE.