The Racket repository
![]() The "view" coordinate system for 2D plots used to be the same as the "plot" coordinate system, except possibly stretched in a way that preserved endpoints. When the endpoints were close to extreme flonum values like +min.0 or +max.0, and the 2D plot area determined that there were enough floating-point numbers within the plot bounds to do fast floating-point arithmetic without losing visual fidelity, some of that arithmetic could overflow. Then +inf.0 and +nan.0 values would passed to `set-clipping-rect', which would promptly throw up, as it should. Solution: like the 3D plot area, use a normalized view coordinate system. Now stretched plot coordinates are translated and scaled to [0,1]x[0,1], for which floating-point arithmetic won't overflow. |
||
---|---|---|
native-pkgs@5f391155f2 | ||
pkgs | ||
racket | ||
.gitattributes | ||
.gitignore | ||
.gitmodules | ||
.mailmap | ||
.travis.yml | ||
INSTALL.txt | ||
Makefile | ||
README.txt |
This is the source code for the main Racket distribution. See "INSTALL.txt" for information on building Racket. License ------- Racket Copyright (c) 2010-2014 PLT Design Inc. Racket is distributed under the GNU Lesser General Public License (LGPL). This means that you can link Racket into proprietary applications, provided you follow the rules stated in the LGPL. You can also modify Racket; if you distribute a modified version, you must distribute it under the terms of the LGPL, which in particular means that you must release the source code for the modified software. See racket/src/COPYING_LESSER.txt for more information.