[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Simple calculator



Rob Browning <rlb@cs.utexas.edu> writes:

> Of course this philosophy has the extreme danger of slowly leading you
> to think of emacs for everything :>

It's a bit late, but I couldn't help it...

% xemacs -q -no-site-file -batch -eval '(message "%f" (/ 20.0 13.0))'
1.538462
% 

(And while we're at it:
% python -c 'print 20.0/13.0'
1.53846153846
% python -c 'print 22222222222222222222L * 77777777777777777777L'
1728395061728395061693827160493827160494L
)

-- 
	 Carey Evans  http://home.clear.net.nz/pages/c.evans/

    "dang it's hard to hit enter after typing /mkext2fs /dev/hdc"
						Petra - on Debian-Devel.


Reply to: