On Sat, Feb 28, 2004 at 02:17:05PM +0000, Smylers wrote:
: Also, not strictly to do with formats but raised by the above, how is
: infinity written in Perl 6 (for example, in C<:page{:length($x)}>
: how could C<$x> be assigned to infinity)?
What we've said up till now is that Perl 6 supports the IEEE notions
of +Inf, -Inf, and NaN. However, it'd be pretty easy to write
something like:
macro term:∞ () is ASCII('oo') { "Inf" }
However, even on my terminal, it can't decide whether U+221E is a single
or double-width character. The font says double, but the width table
vim is using thinks single. Oh, well. And don't even think about
trying to send it through Simon's mailer. :-)
Larry