🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: gnu.ghostscript.bug
1 messages
1 total messages Started by L. Peter Deutsch Tue, 15 Sep 1992 06:12
2 vs. 2.0
#380
Author: L. Peter Deutsch
Date: Tue, 15 Sep 1992 06:12
30 lines
1852 bytes
Re <9209150244.AA12148@cookie-crisp> <BuKGB6.3ty@news.cso.uiuc.edu>:

> Here is some Ghostscript code which behaves differently in GS 2.5.1 and
> on an Apple LaserWriter.  This gave me problems when I tried to `cvs' it
> into a "1 string".  Is this a bug in PS 38.0 or in GS 2.5.1 or neither?
> -------------------------------------------------------------------------------
> PostScript(tm) Version 38.0
> Copyright (c) 1985 Adobe Systems Incorporated.
> PS>4 2 div =
> 2.0
> -------------------------------------------------------------------------------
> $ gs -v
> Ghostscript 2.5.1 (9/11/92)
> $ print "4 2 div =" | gs -dNODISPLAY -
> Initializing... done.
> 2
> -------------------------------------------------------------------------------

It's an under-specification in the definition of the PostScript
language, which doesn't require integral reals to print with a
decimal point.

>From a compatibility viewpoint, it's a bug in Ghostscript.  I'll make
reals always print with a decimal point (or an exponent) when I
re-release 2.5.1.  I can't, however, guarantee that Ghostscript will
print all reals the same way that an Adobe interpreter does.

L. Peter Deutsch :: Aladdin Enterprises :: P.O. box 60264, Palo Alto, CA 94306
ghost@aladdin.com, ...decwrl!aladdin!ghost ; voice 415-322-0103 ; fax 322-1734
    "Implementation is the sincerest form of flattery."    new--->^^^^^^^^^^^^
Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads