Thanksgiving week
[email protected] (Michael Lazzaro) Thu, 21 Nov 2002 13:26:45 -0800
| Newsgroups | perl.perl6.documentation |
|---|---|
| Message-ID | <[email protected]> |
I'll have some time over the Thanksgiving holiday to work on some
polished, "finished" Section 1 docs, so if anyone has anything more for
numeric behaviors that they want to contribute, please send it to me
before next Monday. (Other things on variables, literals in general,
string handling, and other primitive behaviors welcome.)
I'll try and finish text for anything below we don't already have, tie
the documents together, etc; hopefully we can then be mostly finished
with the numerics questions. I know it seems slow work right now, but
it'll get better.
-----
- introducing the basic numeric types, C<int>, C<num>, C<bit>
- literal values (Angel's doc)
- integer and decimal literals
- scientific/exponential notation
- binary/octal/hex
- radix
- using letters
- using dots
- how underscore may be used
- Infinity
- NaN
- how numbers behave in other contexts
- boolean context
- string context
- ints in num context, nums in int context, etc.
- converting strings to numbers (Luke's doc)
(note that stringified numbers aren't literals,
and have different rules in Perl5)
- reading a string as a number
- reading a string as a bin/oct/hex/radix (formatted) number
- converting numbers to strings (Luke's doc)
- writing a number as a string
(what the rules are for how it will look)
- writing a number as a formatted string
(how you write something as bin/oct/hex/radix)
(how you write something w/ other formatting)
- Int vs. int, Num vs. num, Bit vs. bit
- numeric precision and overflow/out-of-range errors
- (when it happens, what happens)
- (issues with floating point numbers)
- a full reference to all numeric types (DELAYED)
(all the things like 'long' needed for C libraries, etc.)
MikeL