| Commit message (Collapse) | Author | Age |
| |
|
|
|
|
|
|
|
|
| |
Despite significant effort, I did not manage to compiler gmpxx in a way
that would allow it to be dynamically linked with the c++ standard
library on android, or statically link the library in a way that would
result in a file executable on Android. Somebody who understands C and
Android dynamic linking might be able to do better.
|
| |
|
| |
|
|
|
|
|
| |
It's the final argument, not the second-to-final argument, that needs to
be a particular size
|
| |
|
|
|
|
|
|
|
|
|
|
| |
We generate the PRI macros and the limb_t type from the bitwidth in the
C preprocessor
My reasoning here is that generate_parameters.py and the generated
*.json files are more user-facing than fibe.c, so we should optimize for
cleanliness of that user-facing code. If this is the wrong direction to
go in, then this commit should be reverted.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
This is to fix
```
src/Specific/Framework/bench/fibe.c: In function ‘fe_print’:
src/Specific/Framework/bench/fibe.c:130:5: warning: format ‘%llx’ expects argument of type ‘long long unsigned int’, but argument 2 has type ‘uint32_t’ [-Wformat=]
printf("0x%016llx)<< %lu) + ", x[i], limb_weight_gaps[i-1]);
^
src/Specific/Framework/bench/fibe.c:130:5: warning: format ‘%lu’ expects argument of type ‘long unsigned int’, but argument 3 has type ‘uint32_t’ [-Wformat=]
src/Specific/Framework/bench/fibe.c:132:3: warning: format ‘%llx’ expects argument of type ‘long long unsigned int’, but argument 2 has type ‘uint32_t’ [-Wformat=]
printf("0x%016llx", x[0]);
^
```
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
|
|