Files
silly/silly.h
2017-07-30 18:39:10 -04:00

22 lines
391 B
C

#include <stdint.h>
#include <stdlib.h>
#include <stdio.h>
typedef struct {
unsigned sign :1;
unsigned before :31;
unsigned after :32;
} silly;
silly silly_zeros();
silly silly_add(silly, silly);
silly silly_sub(silly, silly);
silly silly_mul(silly, silly);
//silly silly_from_32(float);
//silly silly_from_64(double);
double silly_to_double(silly);
char* silly_to_string(silly);