KEK/utils.h
folkert van heusden a15dcc47c0 POC works
2022-03-19 12:45:01 +01:00

12 lines
317 B
C++

// (C) 2018 by Folkert van Heusden
// Released under Apache License v2.0
#include <stdint.h>
#include <string>
void setBit(uint16_t & v, const int bit, const bool vb);
int parity(int v);
#define sign(a) ( ( (a) < 0 ) ? -1 : ( (a) > 0 ) )
std::string format(const char *const fmt, ...);
unsigned long get_ms();