mirror of
https://github.com/openhwgroup/cvw
synced 2025-02-02 09:45:18 +00:00
19 lines
340 B
C
Executable File
19 lines
340 B
C
Executable File
#include <stdlib.h>
|
|
#include <math.h>
|
|
#include <stdio.h>
|
|
|
|
#ifndef DISP
|
|
#define DISP
|
|
|
|
double rnd_zero(double x, double bits);
|
|
|
|
double rne(double x, double precision);
|
|
|
|
double flr(double x, double precision);
|
|
|
|
double ceiling(double x, double precision);
|
|
|
|
void disp_bin(double x, int bits_to_left, int bits_to_right, FILE *out_file);
|
|
|
|
#endif
|