ramp icon indicating copy to clipboard operation
ramp copied to clipboard

RAMP - Rust Arithmetic in Multiple Precision

Results 21 ramp issues
Sort by recently updated
recently updated
newest added

```sh $ cargo +nightly build Compiling ramp v0.5.9 (/home/rodolfo/git/ramp) error: expected one of `const`, `in`, `inlateout`, `inout`, `lateout`, `options`, `out`, or `sym`, found `"adc {1}, {bh}"` --> src/ll/limb.rs:559:21 | 558...

Hi, the rust standard library is going to remove the unstable `#![feature(raw_vec_internals]` (`RawVec`) feature in upcoming nightlies (see https://github.com/rust-lang/rust/pull/90542) since it was only for compiler-internal use and not on a...

Building fails on rustc 1.57 due to error[E0658] and error[E0308] (see [this](https://github.com/rust-num/num-bigint/issues/218) issue), the problem was solved in the last (0.4.2) version of num-bigint.

Rationals rely pretty heavily on the GCD for either calculating the LCM or reducing the rational. Initial benchmarks show that the GCD is a large proportion of the time for...

I found this error from quickcheck. Apparently this multiplication is wrong. I don't know how to go about fixing this, so any help would be appreciated. ``` 'binop::mul::intref_int' panicked at...

bug

I would like to know the status of float support, I have found a project called float, but is has not been updated since 2015, against ramp .2: [float](https://github.com/huonw/float) Currently,...

YMP [claims](http://www.numberworld.org/ymp/v1.0/benchmarks.html) an impressive 2-3x speedup over GMP by using AVX2. Any opinions on: If what YMP does is sensible. What AVX2 support might look like? What internal algorithms it'd...

Add checked conversion for `Int` to primitive types (`u8`, `u16`, `u32`, ...), similar as in num::bigint trait. ``` fn to_i64(&self) -> Option { ... } ```

I'm working on a Rust implementation of Paillier cryptosystem (https://github.com/kunerd/rpaillier). After I started I realised a lag of fundamental big number arithmetic functions like `mod_pow` and `mod_inverse`. At the moment...

Added Functions: ``` Int: pub fn estimate_num_base_digits(&self, base: u8) -> usize { pub fn minimal_buffer_size(&self) -> usize { pub fn write_u8_be_radix(&self, dst : &mut [u8], base : u8) -> Result...