-
I wanted to come up with a better implementation for primality. Basic modular arithmetic should probably be tackled first but they might go hand in hand.
-
Hi Marcel, hope you are doing well. I have a question about the 3PC protocol in appendix A of "Secure Quantized Training for Deep Learning", which leverages mixed-circuit computation. From my understa…
-
### Use Case
1. There is a need to perform simple plus/minus arithmetics between std.DateTime and Duration:
let now = datetime.systemNow();
let expiration = now + duration.fromHours(1);
let validF…
-
Would be cool to be able to do:
```rust
#[derive(Synonym)]
pub struct MyInt(i32);
let x = MyInt(10);
let y = x + 1; // y: MyInt
```
-
Regarding [blog post](https://github.sommrey.de/the-bears-den/2024/07/12/ch-277.html#task-2):
PWC #277
Brilliant use of index arithmetic to make Challenge #2 linear time. I knew there was somethin…
-
Create the benchmark using phpbench (https://github.com/phpbench/phpbench), a solid and well-maintained tool.
- [x] Add phpbench as requirement (require-dev)
- [x] Add benchmarks for the Initializ…
-
```fortran
program main
integer, parameter :: i1 = huge(1_8)
print *, i1
end
```
```console
$ gfortran a.f90 && ./a.out
a.f90:2:30:
2 | integer, parameter :: i1 = huge(1_8)
…
-
I am using libunwind and when compiling my program with `-fsanitize=undefined` I get several reports of undefined behavior:
```
native/native-code-nativelib_native0.4_3-0.4.17-2/scala-native/platfor…
-
The cswap implementation
https://github.com/quantumlib/Qualtran/blob/3f325ce16ab44890a9e2150338e11cee0a4a8225/qualtran/bloqs/arithmetic/comparison.py#L258
should be a block of its own
-
## Square integers
- code https://github.com/quantumlib/Qualtran/blob/main/qualtran/bloqs/arithmetic/multiplication.py#L93
- ref: https://arxiv.org/abs/2105.12767. pg 76 for Toffoli complexity (te…