Mercurial > hg > fxanalyse
view utils.h @ 180:8faada7e4faf
Remove DDS frequency +10 kHz and -10 kHz buttons
author | Daniele Nicolodi <daniele.nicolodi@obspm.fr> |
---|---|
date | Fri, 21 Feb 2014 18:42:16 +0100 |
parents | 97112b45b838 |
children | e925664b4b1b |
line wrap: on
line source
#ifndef __FXANALISE_UTILS_H__ #define __FXANALISE_UTILS_H__ #ifndef FALSE #define FALSE 0 #endif #ifndef TRUE #define TRUE 1 #endif #ifndef MIN #define MIN(x, y) (x) < (y) ? (x) : (y) #endif /* format floating points numbers accordingly to fmt and asdd thousands separator */ const char * thousands(char *buffer, int size, char *fmt, double val); double Peta(double x); double Tera(double x); double Giga(double x); double Mega(double x); double kilo(double x); double milli(double x); double micro(double x); double nano(double x); double pico(double x); double femto(double x); double atto(double x); #endif