2024-09-06 18:37:10 +00:00
|
|
|
# extra_math
|
2024-09-06 11:49:30 +00:00
|
|
|
|
2024-09-19 11:43:06 +00:00
|
|
|
Maths support code for various floating point types
|
2024-09-06 11:49:30 +00:00
|
|
|
|
2024-09-19 11:43:06 +00:00
|
|
|
## Features
|
|
|
|
|
|
|
|
Each floating point type is feature gated. Some other functionality is enabled in some cases.
|
|
|
|
|
|
|
|
- `u256`: Enable a 256 bit unsigned integer type. This is *NOT* a constant time implementation.
|
2024-09-06 11:49:30 +00:00
|
|
|
|
|
|
|
## Running the tests
|
|
|
|
|
2024-09-06 18:37:10 +00:00
|
|
|
```sh
|
|
|
|
cargo test
|
|
|
|
nix flake check
|
|
|
|
```
|
2024-09-06 11:49:30 +00:00
|
|
|
|
|
|
|
## Built With
|
|
|
|
|
|
|
|
- [Contributor Covenant](https://www.contributor-covenant.org/) - Used
|
|
|
|
for the Code of Conduct
|
2024-09-06 18:37:10 +00:00
|
|
|
- [Math.net](https://github.com/mathnet/mathnet-numerics/blob/master/src/Numerics/SpecialFunctions/Gamma.cs) for some of the code
|
2024-09-06 11:49:30 +00:00
|
|
|
|
|
|
|
## Contributing
|
|
|
|
|
|
|
|
Please read [CONTRIBUTING.md](CONTRIBUTING.md) for details on our code
|
|
|
|
of conduct, and the process for submitting pull requests to us.
|
|
|
|
|
|
|
|
## Versioning
|
|
|
|
|
|
|
|
We use [Semantic Versioning](http://semver.org/) for versioning. For the versions
|
|
|
|
available, see the [tags on this
|
|
|
|
repository](https://github.com/PurpleBooth/a-good-readme-template/tags).
|
|
|
|
|
|
|
|
## Authors
|
|
|
|
|
2024-09-09 09:57:27 +00:00
|
|
|
- **Charlotte 🦝 Delenk** [DarkKirb](https://lotte.chir.rs)
|
2024-09-06 11:49:30 +00:00
|
|
|
|
|
|
|
See also the list of
|
|
|
|
[contributors](https://github.com/PurpleBooth/a-good-readme-template/contributors)
|
|
|
|
who participated in this project.
|
|
|
|
|
|
|
|
## License
|
|
|
|
|
|
|
|
Licensed under either of
|
|
|
|
|
|
|
|
* Apache License, Version 2.0
|
|
|
|
[LICENSE-APACHE](LICENSE-APACHE)
|
|
|
|
* MIT license
|
|
|
|
[LICENSE-MIT](LICENSE-MIT)
|
|
|
|
|
|
|
|
at your option.
|