Discriminant Data
Overview
Quadratic irrational discriminants are the core mathematical foundation of qiprng. The package includes carefully selected and validated discriminants that provide:- Proven randomness quality through extensive statistical testing
- Optimal performance characteristics
- Long periods suitable for large-scale simulations
- Cryptographic security when combined with mixing functions
Loading Discriminant Data
Discriminant Structure
Each discriminant entry contains:Quality Metrics
All discriminants are validated against:| Metric | Threshold | Description |
|---|---|---|
| Uniformity | > 0.99 | Distribution uniformity via KS test |
| Independence | > 0.99 | Serial correlation tests |
| Entropy | > 0.99 | Shannon entropy measure |
| Period | > 2^48 | Minimum period length |
| NIST Tests | > 0.98 | NIST SP 800-22 pass rate |
Performance Classification
Discriminants are classified by performance:- Grade A: Optimal for high-frequency generation (> 500 MB/s)
- Grade B: Good for general use (300-500 MB/s)
- Grade C: Suitable for high-precision applications (< 300 MB/s)