|
|
DataMuseum.dkPresents historical artifacts from the history of: DKUUG/EUUG Conference tapes |
This is an automatic "excavation" of a thematic subset of
See our Wiki for more about DKUUG/EUUG Conference tapes Excavated with: AutoArchaeologist - Free & Open Source Software. |
top - metrics - downloadIndex: R T
Length: 1130 (0x46a)
Types: TextFile
Names: »README«
└─⟦a0efdde77⟧ Bits:30001252 EUUGD11 Tape, 1987 Spring Conference Helsinki
└─⟦this⟧ »EUUGD11/euug-87hel/sec3/doprnt/README«
Mark Pulver is looking for a C version of _doprnt, so I thought
I'd pass mine along. I wrote this from the ground up; it is
absolutely underived from anything proprietary.
This version is not complete, and has the following two key
omissions:
It doesn't do floating point (%f, %e, or %g).
It will handle %ld (%lx, etc.) incorrectly on machines
where sizeof(long) != sizeof(int).
It also does not implement the %# stuff which appeared in the 4.2
documentation but which I haven't seen in any implementation yet.
I believe it handles everything else correctly, although I have
not tested it exhaustively.
There are two "fun" additions: %b is binary, and %r is roman.
You are free to use this code as you wish, but please leave the
identification comment intact. I can offer no support for this
code, although if I ever implement floating point or pdp11
support (I'm acutely embarrassed to admit making the typical VAX
int/long equivalence assumption) I'll try to remember to post
those additions.
Steve Summit
stevesu@copper.tek.com