commit
7bfe60c537
@ -0,0 +1,14 @@ |
||||
name: test |
||||
on: [push] |
||||
|
||||
jobs: |
||||
build: |
||||
name: test |
||||
runs-on: ubuntu-latest |
||||
steps: |
||||
- uses: actions/checkout@v2 |
||||
- run: make test_ci DEBUG=1 -j3 |
||||
- run: make clean |
||||
- run: make test_ci DEBUG=1 -j3 CXX=clang++ |
||||
- run: make clean |
||||
- run: make test_go |
@ -1,17 +0,0 @@ |
||||
sudo: true |
||||
dist: trusty |
||||
language: cpp |
||||
compiler: |
||||
- gcc |
||||
- clang |
||||
addons: |
||||
apt: |
||||
packages: |
||||
- libgmp-dev |
||||
script: |
||||
- make test_ci DEBUG=1 -j3 |
||||
- make clean |
||||
- make test_ci CFLAGS_USER=-DMCL_DONT_USE_XBYAK -j3 |
||||
- make clean |
||||
- make test_go |
||||
|
@ -0,0 +1,13 @@ |
||||
p=21888242871839275222246405745257275088696311157297823662689037894645226208583 |
||||
|
||||
print("over 253 bit") |
||||
for i in range (10): |
||||
print(i, (p * i) >> 253) |
||||
|
||||
def maxarg(x): |
||||
return x // p |
||||
|
||||
print("maxarg") |
||||
for i in range(16): |
||||
print(i, maxarg(i << 253)) |
||||
|
Loading…
Reference in new issue