[system] Repository:
ViewVC logotype

Revision 2798

Jump to revision: Previous Next
Author: dpvc
Date: Sun Sep 19 11:29:06 2004 UTC (15 years, 2 months ago)
Log Message:
Make Formula()->eval return a Real (ie, aValue::Real object) rather
than a perl number.  That way, you can use $f->eval->cmp rather than
needing Real($f->eval)->cmp, and so on.

Also make Formula()->perl do the same, for consistency.

(This could have been accomplished by having the Parser::Number class
evaluate to a Real, but for efficiency during computation, we put
off making the Real object until the end.  It probably doesn't make
that big a difference, but every little bit helps.)

Changed paths:

Path Details
Directorytrunk/pg/lib/Parser.pm modified , text changed

aubreyja at gmail dot com
ViewVC Help
Powered by ViewVC 1.0.9