machine independent atof()
Jeffrey E. F. Friedl
jeff at unh.UUCP
Thu May 26 05:04:16 AEST 1988
Hiho,
I'm writing a cross assembler for the NCUBE Multicomputer and have
run into a problem with which I'm hoping someone can help. The NCUBE floating
point formats are different from the host machine's (A VAX running BSD 4.3 in
this case) and so I'm having a hard time generating the proper static data
for floating point constants. The NCUBE floating point conforms to the IEEE
Binary Floating Point Standard P754. I need some kind of machine independent
atof().... I'd like to eventually get this running on a variety of machines,
including various Vaxen and Suns.
Any ideas?
While I'm at it, does anyone have any tips, etc, on how to generate
the complete C library short of writing everything from scratch? The assembler
is part of a cross compiler for the NCUBE that I'm developing. Has anyone done
this before for the NCUBE?
Seeing as I've never done a *real* assembler/compiler before, any
help would be *most* appreciated.
Thanks!
Jeffrey
------------------------------------------------------------------------------
Jeffrey Friedl, Box 2146 Babcock House, Durham NH 03824
..!{uunet,decvax}!unh!jeff, jeff at unh%csnet-relay, BITNET%"j_friedl at unhh"
...!ucbvax!kentvax!jfriedl
More information about the Comp.lang.c
mailing list