Re: [q-lang-users] improvement to Q
Brought to you by:
agraef
From: John C. <co...@cc...> - 2007-06-27 19:35:11
|
ed...@ri... scripsit: > I would like to see x^n return integer results when x is an integer and > n is a natural number. Maybe even return a rational when n is a negative > integer. I think having a new operator like ^^ (or **) is better, both for backward compatibility and to avoid slipping in and out of bignums; in the general case, Q floats are way more efficient than Q integers. -- They tried to pierce your heart John Cowan with a Morgul-knife that remains in the http://www.ccil.org/~cowan wound. If they had succeeded, you would become a wraith under the domination of the Dark Lord. --Gandalf |