mirror of
https://github.com/zama-ai/concrete.git
synced 2026-02-18 16:34:43 -05:00
- added --compress-input compiler option which forces the use of seeded bootstrap keys and keyswitch keys - replaced the concrete-cpu FHE implementation with tfhe-rs Co-authored-by: Nikita Frolov <nf@mkmks.org>
20 lines
362 B
C++
20 lines
362 B
C++
#ifndef CONCRETE_NUM_COMPLEX_H
|
|
#define CONCRETE_NUM_COMPLEX_H
|
|
|
|
#ifdef __cplusplus
|
|
#include <complex>
|
|
|
|
typedef std::complex<double> c64;
|
|
#endif
|
|
|
|
// Needed for tests written in Zig because Zig does not have interability with // C99 complex types.
|
|
#ifndef __cplusplus
|
|
struct c_double_complex {
|
|
double c[2];
|
|
};
|
|
|
|
typedef struct c_double_complex c64;
|
|
#endif
|
|
|
|
#endif
|