# | Line 27 | Line 27 | register int siz; | |
---|---|---|
27 | register FILE *fp; | |
28 | { | |
29 | while (siz--) | |
30 | < | putc(i>>(siz<<3) & 0xff, fp); |
30 | > | putc((int)(i>>(siz<<3) & 0xff), fp); |
31 | } | |
32 | ||
33 | ||
34 | putflt(f, fp) /* put out floating point number */ | |
35 | < | double f; |
35 | > | double f; |
36 | > | FILE *fp; |
37 | { | |
38 | extern double frexp(); | |
39 | int e; | |
# | Line 85 | Line 86 | getflt(fp) /* get a floating point number */ | |
86 | FILE *fp; | |
87 | { | |
88 | extern double ldexp(); | |
89 | < | double d; |
89 | > | double d; |
90 | ||
91 | d = (double)getint(4, fp)/0x7fffffff; | |
92 | return(ldexp(d, (int)getint(1, fp))); |
– | Removed lines |
+ | Added lines |
< | Changed lines |
> | Changed lines |