develooper Front page | | Postings from September 2002

Clarifications to tpr(0,5a)

Thread Next
Juho Snellman
September 2, 2002 13:35
Clarifications to tpr(0,5a)
Message ID:
We've clarified a couple of ambiguities in the spec, as well as a 
fixed a conflict between the spec and the tests. The updated files will
be available on later, but here's a quick list on the

    * Numbers may have leading '0':s. 
    * Negative numbers will have a leading '-'. 
    * Positive numbers won't have a leading '+'.
    * There may be whitespace between the '-' and the first digit 
      of a negative number.
    * The test program required the output to have the same tokens
      (excepting parens) as the input. A strict reading of the spec
      only requires it to have the same integers + operators. We've
      now defined "the same integer" as "integers having the same
      value". That is, for the number 007 you may output 7, 07, 007,
      0007, etc. The numbers are always in base-10.

Sorry for the inconvenience.

Juho Snellman

Thread Next Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at | Group listing | About