| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
| |
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Bug #702194 "cvi produces incorrect results"
This was simply caused by a cast through long. However its not enough
merely to change the cast, we must also check for running in CPSI mode
and throw an error if the returned integer cannot be represented in a
32-bit word, for compatibility with test suites.
In addition (see bug #702134) when exp throws an undefinedresult error
delay setting the stack variable until after we have tested the result,
so that we do not end up returning a INF on the stack, as is done in
other code paths which check for NaN and INF.
Thirdly; in div cater for the case of an integer divided by a real and
check the result for NaN and INF (as the other cases do). This now
properly throws an error and does not return NaN or INF on the stack.
|
| |
|
|
|
|
|
|
|
|
|
|
| |
Bug #700181 "using exp with 0 as base" (again)
The reporter for the bug failed to mention this condition in the
original report. Technically we don't always have isinf() available
(I suspect all real compilers do these days) but where we do we can
check the result. Where we don't, we're stuck. This mimics the
behaviour of other math operations in Ghostscript.
|
|
|
|
|
|
|
| |
Bug #700181 "using exp with 0 as base"
If base is 0, and exp is negative, then the result of exp is undefined
we should throw an error instead of pushing #INF.0 on the stack.
|
|
|
|
|
|
|
|
|
| |
Also update copyright dates.
Remove gs_cmdl.ps as we no longer use it, and remove its entry from
psfiles.htm.
Remove xfonts.htm as this feature (xfont support) is long, long gone.
|
|
Squashed into one commit (see branch for details of the evolution of the
branch).
This brings gpcl6 and gxps into the Ghostscript build system, and a shared
set of graphics library object files for all the interpreters.
Also, brings the same configuration options to the pcl and xps products as we
have for Ghostscript.
|