#include "header.h" //Big Endian on Right. unsigned int ftob(double x) { if (x<0||x>=1){return 0;} //if outside the range, return 0. unsigned int binary=0; //The binary value we will be filling. unsigned int bit=1; //A temporary thing. double y=2*x; //Start by bringing it into the cast range. int i; for (i=0;i