MUD-Dev
mailing list archive
[ Other Periods
| Other mailing lists
| Search
]
Date:
[ Previous
| Next
]
Thread:
[ Previous
| Next
]
Index:
[ Author
| Date
| Thread
]
[MUD-Dev] Re: [CODE QUESTION] How to encode floats into bytes?
On Wed, Sep 09, 1998 at 10:26:19AM -0700, J C Lawrence wrote:
> > It would seem like there would be a method to do this somewhere!
> Yup: roll your own or rely on everybody using IEEE floats (which in
> the microcomputer (as versus mini or host) world is getting close to
> universal).
Or decide that you don't really need blinding speed, figure out how much
precision you need, and use sprintf()/sscanf(). This would be my tactic,
because I'm lazy.
Adam
--
adam#princeton,edu
"There's a border to somewhere waiting, and a tank full of time." - J. Steinman
- Thread context:
- [MUD-Dev] Re: [CODE QUESTION] How to encode floats into bytes?, (continued)
- [MUD-Dev] (fwd) CODE RELEASE: [server] SlashMUD (MacOS mud server),
J C Lawrence claw#greek,kanga.nu, Sun 06 Sep 1998, 22:04 GMT
- [MUD-Dev] Re: Equipment Fit,
Chris Gray cg#ami-cg,GraySage.Edmonton.AB.CA, Sun 06 Sep 1998, 16:28 GMT
- [MUD-Dev] npc memory and reactions,
James Wilson jwilson#rochester,rr.com, Sat 05 Sep 1998, 14:02 GMT
[ Other Periods
| Other mailing lists
| Search
]