pike.git/
src/
encode.c
Branch:
Tag:
Non-build tags
All tags
No tags
1997-10-19
1997-10-19 23:22:24 by Fredrik Hübinette (Hubbe) <hubbe@hubbe.net>
d34da7167dd9df380931181404fc7f44267ce637 (
3
lines) (+
3
/-
0
)
[
Show
|
Annotate
]
Branch:
7.9
float encoding now faster.. (but bigger)
Rev: src/encode.c:1.15
162:
tmp=FREXP((double)val->u.float_number, &y); x=(INT32)((1<<30)*tmp); y-=30;
+
#if 0
while(x && y && !(x&1)) { x>>=1; y++; }
-
+
#endif
code_entry(T_FLOAT,x,data); code_entry(T_FLOAT,y,data); }