Clearmatics Libsnark  0.1
C++ library for zkSNARK proofs
Namespaces | Functions
infrastructure.cpp File Reference
#include <cassert>
#include <climits>
#include <iostream>
#include <libsnark/gadgetlib2/infrastructure.hpp>
#include <stdexcept>
Include dependency graph for infrastructure.cpp:

Go to the source code of this file.

Namespaces

 gadgetlib2
 

Functions

::std::string gadgetlib2::GADGETLIB2_FMT (const char *format,...)
 
long gadgetlib2::safeConvert (const int64_t num)
 
double gadgetlib2::Log2 (double n)
 
unsigned int gadgetlib2::Log2ceil (uint64_t i)
 
bool gadgetlib2::IsPower2 (const long x)
 Returns true iff x is a power of 2. More...
 

Detailed Description

Common functionality needed by many components.

Author
This file is part of libsnark, developed by SCIPR Lab and contributors (see AUTHORS).

Definition in file infrastructure.cpp.