Simulated int128 type.

This commit is contained in:
Russell O'Connor
2022-07-27 11:09:51 -04:00
parent 694ce8fb2d
commit 2914bccbc0
13 changed files with 750 additions and 289 deletions

14
src/int128_struct.h Normal file
View File

@@ -0,0 +1,14 @@
#ifndef SECP256K1_INT128_STRUCT_H
#define SECP256K1_INT128_STRUCT_H
#include <stdint.h>
#include "util.h"
typedef struct {
uint64_t lo;
uint64_t hi;
} secp256k1_uint128;
typedef secp256k1_uint128 secp256k1_int128;
#endif