Formatting
This commit is contained in:
parent
62d7641381
commit
10a6459851
|
@ -21,9 +21,7 @@
|
||||||
// This is -1 (the second root of unity)
|
// This is -1 (the second root of unity)
|
||||||
uint64_t m1[] = {0xffffffff00000000L, 0x53bda402fffe5bfeL, 0x3339d80809a1d805L, 0x73eda753299d7d48L};
|
uint64_t m1[] = {0xffffffff00000000L, 0x53bda402fffe5bfeL, 0x3339d80809a1d805L, 0x73eda753299d7d48L};
|
||||||
|
|
||||||
void title(void) {
|
void title(void) {}
|
||||||
;
|
|
||||||
}
|
|
||||||
|
|
||||||
void fr_is_zero_works(void) {
|
void fr_is_zero_works(void) {
|
||||||
blst_fr zero;
|
blst_fr zero;
|
||||||
|
|
|
@ -18,9 +18,7 @@
|
||||||
#include "debug_util.h"
|
#include "debug_util.h"
|
||||||
#include "c_kzg_util.h"
|
#include "c_kzg_util.h"
|
||||||
|
|
||||||
void title(void) {
|
void title(void) {}
|
||||||
;
|
|
||||||
}
|
|
||||||
|
|
||||||
void malloc_works(void) {
|
void malloc_works(void) {
|
||||||
int *p;
|
int *p;
|
||||||
|
|
|
@ -21,9 +21,7 @@
|
||||||
|
|
||||||
#define NUM_ROOTS 32
|
#define NUM_ROOTS 32
|
||||||
|
|
||||||
void title(void) {
|
void title(void) {}
|
||||||
;
|
|
||||||
}
|
|
||||||
|
|
||||||
void roots_of_unity_is_the_expected_size(void) {
|
void roots_of_unity_is_the_expected_size(void) {
|
||||||
TEST_CHECK(NUM_ROOTS == sizeof(scale2_root_of_unity) / sizeof(scale2_root_of_unity[0]));
|
TEST_CHECK(NUM_ROOTS == sizeof(scale2_root_of_unity) / sizeof(scale2_root_of_unity[0]));
|
||||||
|
|
|
@ -37,9 +37,7 @@ const uint64_t inv_fft_expected[][4] = {
|
||||||
{0xe92ffdda2306c7d4L, 0x54dd2afcd2dfb16bL, 0xf6554603677e87beL, 0x5dbc603bc53c7a39L},
|
{0xe92ffdda2306c7d4L, 0x54dd2afcd2dfb16bL, 0xf6554603677e87beL, 0x5dbc603bc53c7a39L},
|
||||||
{0xd8cda22e753b3117L, 0x880454ec72238f55L, 0xcaf6199fc14a5353L, 0x197df7c2f05866d4L}};
|
{0xd8cda22e753b3117L, 0x880454ec72238f55L, 0xcaf6199fc14a5353L, 0x197df7c2f05866d4L}};
|
||||||
|
|
||||||
void title(void) {
|
void title(void) {}
|
||||||
;
|
|
||||||
}
|
|
||||||
|
|
||||||
void compare_sft_fft(void) {
|
void compare_sft_fft(void) {
|
||||||
// Initialise: ascending values of i (could be anything), and arbitrary size
|
// Initialise: ascending values of i (could be anything), and arbitrary size
|
||||||
|
|
|
@ -18,9 +18,7 @@
|
||||||
#include "debug_util.h"
|
#include "debug_util.h"
|
||||||
#include "fft_g1.h"
|
#include "fft_g1.h"
|
||||||
|
|
||||||
void title(void) {
|
void title(void) {}
|
||||||
;
|
|
||||||
}
|
|
||||||
|
|
||||||
void make_data(blst_p1 *out, uint64_t n) {
|
void make_data(blst_p1 *out, uint64_t n) {
|
||||||
// Multiples of g1_gen
|
// Multiples of g1_gen
|
||||||
|
|
Loading…
Reference in New Issue