Re: '.2e2' asNumber?

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
6 messages Options
Reply | Threaded
Open this post in threaded view
|

Re: '.2e2' asNumber?

csrabak
Can we add some more (in the Pharo's spirit of getting at a better Smalltalk):

'1.0e+2' "now returns 1.0 although for simmetry should return 100.0"

'1E2'    "now returns 1, however a lot of applications (like
spreadsheets, Fortran printouts) when saving to text use the capital
letter for the exponential part".

By the same reason:

'1.0E2'

'1E-2'

'1E+2'


Em 24/09/2009 17:36, John M McIntosh < [hidden email] > escreveu:


> Ok, well I'm going to go away and build a test suite to check for all
> combos of
> '.'
> '1.'
> '1.2'
> '.e'
> '1.e'
> '1.2e'
> '1.2e3'
> '-1.e'
> '-1.2e-3'
>
> so we can at least agree on what a valid number is.
>
>
> On 2009-09-24, at 6:57 AM, Nicolas Cellier wrote:
> > SqNumberParser>>fail
> > failBlock isNil ifFalse: [^failBlock value].
> > self error: 'Reading a number failed'
> >


_______________________________________________
Pharo-project mailing list
[hidden email]
http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
Reply | Threaded
Open this post in threaded view
|

Re: '.2e2' asNumber?

johnmci
Well yes I was *thinking* of using curl and asking wolfram alpha...
for example, but perhaps someone can do that task for me?  Never  
enough time to do all this...

http://www.wolframalpha.com/input/?i=1E2
http://www.wolframalpha.com/input/?i=1.0e%2B2
http://www.wolframalpha.com/input/?i=1.0e-2
http://www.wolframalpha.com/input/?i=1E-2

On 2009-09-24, at 2:40 PM, [hidden email] wrote:

> Can we add some more (in the Pharo's spirit of getting at a better  
> Smalltalk):
>
> '1.0e+2' "now returns 1.0 although for simmetry should return 100.0"
>
> '1E2'    "now returns 1, however a lot of applications (like
> spreadsheets, Fortran printouts) when saving to text use the capital
> letter for the exponential part".
>
> By the same reason:
>
> '1.0E2'
>
> '1E-2'
>
> '1E+2'
>
>
> Em 24/09/2009 17:36, John M McIntosh <  
> [hidden email] > escreveu:
>
>
>> Ok, well I'm going to go away and build a test suite to check for all
>> combos of
>> '.'
>> '1.'
>> '1.2'
>> '.e'
>> '1.e'
>> '1.2e'
>> '1.2e3'
>> '-1.e'
>> '-1.2e-3'
>>
>> so we can at least agree on what a valid number is.
>>
>>
>> On 2009-09-24, at 6:57 AM, Nicolas Cellier wrote:
>>> SqNumberParser>>fail
>>> failBlock isNil ifFalse: [^failBlock value].
>>> self error: 'Reading a number failed'
>>>
>
>
> _______________________________________________
> Pharo-project mailing list
> [hidden email]
> http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project

--
=
=
=
========================================================================
John M. McIntosh <[hidden email]>   Twitter:  
squeaker68882
Corporate Smalltalk Consulting Ltd.  http://www.smalltalkconsulting.com
=
=
=
========================================================================





_______________________________________________
Pharo-project mailing list
[hidden email]
http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
Reply | Threaded
Open this post in threaded view
|

Re: '.2e2' asNumber?

Michael Roberts-2
Hi John, slightly OT but do you know if you can give arbitrary
mathematica syntax to wolfram Alpha? i was trying to use its
functional programming model but it tends to ignore my syntax and get
confused. Wondered how far you had pushed it?

thanks,
Mike

On Thu, Sep 24, 2009 at 10:47 PM, John M McIntosh
<[hidden email]> wrote:

> Well yes I was *thinking* of using curl and asking wolfram alpha...
> for example, but perhaps someone can do that task for me?  Never
> enough time to do all this...
>
> http://www.wolframalpha.com/input/?i=1E2
> http://www.wolframalpha.com/input/?i=1.0e%2B2
> http://www.wolframalpha.com/input/?i=1.0e-2
> http://www.wolframalpha.com/input/?i=1E-2
>
> On 2009-09-24, at 2:40 PM, [hidden email] wrote:
>
>> Can we add some more (in the Pharo's spirit of getting at a better
>> Smalltalk):
>>
>> '1.0e+2' "now returns 1.0 although for simmetry should return 100.0"
>>
>> '1E2'    "now returns 1, however a lot of applications (like
>> spreadsheets, Fortran printouts) when saving to text use the capital
>> letter for the exponential part".
>>
>> By the same reason:
>>
>> '1.0E2'
>>
>> '1E-2'
>>
>> '1E+2'
>>
>>
>> Em 24/09/2009 17:36, John M McIntosh <
>> [hidden email] > escreveu:
>>
>>
>>> Ok, well I'm going to go away and build a test suite to check for all
>>> combos of
>>> '.'
>>> '1.'
>>> '1.2'
>>> '.e'
>>> '1.e'
>>> '1.2e'
>>> '1.2e3'
>>> '-1.e'
>>> '-1.2e-3'
>>>
>>> so we can at least agree on what a valid number is.
>>>
>>>
>>> On 2009-09-24, at 6:57 AM, Nicolas Cellier wrote:
>>>> SqNumberParser>>fail
>>>> failBlock isNil ifFalse: [^failBlock value].
>>>> self error: 'Reading a number failed'
>>>>
>>
>>
>> _______________________________________________
>> Pharo-project mailing list
>> [hidden email]
>> http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
>
> --
> =
> =
> =
> ========================================================================
> John M. McIntosh <[hidden email]>   Twitter:
> squeaker68882
> Corporate Smalltalk Consulting Ltd.  http://www.smalltalkconsulting.com
> =
> =
> =
> ========================================================================
>
>
>
>
>
> _______________________________________________
> Pharo-project mailing list
> [hidden email]
> http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
>

_______________________________________________
Pharo-project mailing list
[hidden email]
http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
Reply | Threaded
Open this post in threaded view
|

Re: '.2e2' asNumber?

johnmci
Well you can try it by going to the http://www.wolframalpha.com
typing in a formula and see what the URL turns into.

There might be a guide somewhere, I didn't look.

1+(3/4)-2.5e2+2^3

http://www.wolframalpha.com/input/?i=1%2B%283%2F4%29-2.5e2%2B2%5E3

-961/4

On 2009-09-24, at 3:06 PM, Michael Roberts wrote:

> Hi John, slightly OT but do you know if you can give arbitrary
> mathematica syntax to wolfram Alpha? i was trying to use its
> functional programming model but it tends to ignore my syntax and get
> confused. Wondered how far you had pushed it?
>
> thanks,
> Mike

--
=
=
=
========================================================================
John M. McIntosh <[hidden email]>   Twitter:  
squeaker68882
Corporate Smalltalk Consulting Ltd.  http://www.smalltalkconsulting.com
=
=
=
========================================================================





_______________________________________________
Pharo-project mailing list
[hidden email]
http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
Reply | Threaded
Open this post in threaded view
|

Re: '.2e2' asNumber?

Nicolas Cellier
In reply to this post by csrabak
2009/9/24  <[hidden email]>:
> Can we add some more (in the Pharo's spirit of getting at a better Smalltalk):
>
> '1.0e+2' "now returns 1.0 although for simmetry should return 100.0"
>

As far as I know, this never answered 100.0 in Squeak.
It does not work either in VW, but works in Dolphin.


> '1E2'    "now returns 1, however a lot of applications (like
> spreadsheets, Fortran printouts) when saving to text use the capital
> letter for the exponential part".
>
> By the same reason:
>
> '1.0E2'
>
> '1E-2'
>
> '1E+2'
>
I attach a little refactoring:

Abstract class : NumberParser
Concrete Subclasses : FORTRANNumberParser SqNumberParser

Of course, the FORTRANNumberParser would not parse (1.0e+2) but only (1.0E+2)
So this is just an example. I guess you aim an ExtendedNumberParser...

Nicolas

>
> Em 24/09/2009 17:36, John M McIntosh < [hidden email] > escreveu:
>
>
>> Ok, well I'm going to go away and build a test suite to check for all
>> combos of
>> '.'
>> '1.'
>> '1.2'
>> '.e'
>> '1.e'
>> '1.2e'
>> '1.2e3'
>> '-1.e'
>> '-1.2e-3'
>>
>> so we can at least agree on what a valid number is.
>>
>>
>> On 2009-09-24, at 6:57 AM, Nicolas Cellier wrote:
>> > SqNumberParser>>fail
>> > failBlock isNil ifFalse: [^failBlock value].
>> > self error: 'Reading a number failed'
>> >
>
>
> _______________________________________________
> Pharo-project mailing list
> [hidden email]
> http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
>

_______________________________________________
Pharo-project mailing list
[hidden email]
http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project

FORTRANNumberParser.st (4K) Download Attachment
NumberParser.st (12K) Download Attachment
FORTRANNumberParserTest.st (1K) Download Attachment
SqNumberParser.st (11K) Download Attachment
Reply | Threaded
Open this post in threaded view
|

Re: '.2e2' asNumber?

johnmci
In reply to this post by johnmci
Given that I changed

Number (class) >>readFrom: stringOrStream
        "Answer a number as described on aStream.  The number may
        be any accepted Smalltalk literal Number format.
        It can include a leading radix specification, as in 16rFADE.
        It can as well be NaN, Infinity or -Infinity for conveniency.
        If stringOrStream does not start with a valid number description,  
answer 0 for backward compatibility. This is not clever and should  
better be changed."
       
        ^(SqNumberParser on: stringOrStream) failBlock: [self error];  
nextNumber


then I make some data


#(

'.' '1.' '1.2'
'..1' '..12'
'-' '-.' '-.1' '-.12'
'-..' '-..1' '-..12'
'--.' '--..' '--..1' '--..12'


) do: [:string |
        string permutationsDo: [:each | | error value should |
                error := false.
                value := [each asNumber] ifError: [error := true. 'nil'].
                should := 'self should: [''',each,''' asNumber = ',value asString,']'.
                should := error
                        ifFalse: [should,'.']
                        ifTrue: [should,' raise: Error.'].
                Transcript show: should;cr ]].


That gives me this which I broke into three methods and stuck in  
SqNumberParserTest
Now the community gets to decide what is wrong or correct?
I guess I'll look at seeing how to talk to Wolfram alpha..


SqNumberParserTest >>testcheckForCoverage

self should: ['.' asNumber = nil] raise: Error.
self should: ['1.' asNumber = 1].
self should: ['.1' asNumber = nil] raise: Error.
self should: ['1.2' asNumber = 1.2].
self should: ['12.' asNumber = 12].
self should: ['.12' asNumber = nil] raise: Error.
self should: ['.21' asNumber = nil] raise: Error.
self should: ['2.1' asNumber = 2.1].
self should: ['21.' asNumber = 21].
self should: ['..1' asNumber = nil] raise: Error.
self should: ['.1.' asNumber = nil] raise: Error.
self should: ['..1' asNumber = nil] raise: Error.
self should: ['.1.' asNumber = nil] raise: Error.
self should: ['1..' asNumber = 1].
self should: ['1..' asNumber = 1].
self should: ['..12' asNumber = nil] raise: Error.
self should: ['..21' asNumber = nil] raise: Error.
self should: ['.1.2' asNumber = nil] raise: Error.
self should: ['.12.' asNumber = nil] raise: Error.
self should: ['.21.' asNumber = nil] raise: Error.
self should: ['.2.1' asNumber = nil] raise: Error.
self should: ['..12' asNumber = nil] raise: Error.
self should: ['..21' asNumber = nil] raise: Error.
self should: ['.1.2' asNumber = nil] raise: Error.
self should: ['.12.' asNumber = nil] raise: Error.
self should: ['.21.' asNumber = nil] raise: Error.
self should: ['.2.1' asNumber = nil] raise: Error.
self should: ['1..2' asNumber = 1].
self should: ['1.2.' asNumber = 1.2].
self should: ['1..2' asNumber = 1].
self should: ['1.2.' asNumber = 1.2].
self should: ['12..' asNumber = 12].
self should: ['12..' asNumber = 12].
self should: ['2.1.' asNumber = 2.1].
self should: ['2..1' asNumber = 2].
self should: ['21..' asNumber = 21].
self should: ['21..' asNumber = 21].
self should: ['2.1.' asNumber = 2.1].
self should: ['2..1' asNumber = 2].
self should: ['-' asNumber = nil] raise: Error.
self should: ['-.' asNumber = nil] raise: Error.
self should: ['.-' asNumber = nil] raise: Error.
self should: ['-.1' asNumber = nil] raise: Error.
self should: ['-1.' asNumber = -1].
self should: ['.-1' asNumber = nil] raise: Error.
self should: ['.1-' asNumber = nil] raise: Error.
self should: ['1.-' asNumber = 1].
self should: ['1-.' asNumber = 1].
self should: ['-.12' asNumber = nil] raise: Error.
self should: ['-.21' asNumber = nil] raise: Error.
self should: ['-1.2' asNumber = -1.2].
self should: ['-12.' asNumber = -12].
self should: ['-21.' asNumber = -21].
self should: ['-2.1' asNumber = -2.1].
self should: ['.-12' asNumber = nil] raise: Error.
self should: ['.-21' asNumber = nil] raise: Error.
self should: ['.1-2' asNumber = nil] raise: Error.
self should: ['.12-' asNumber = nil] raise: Error.
self should: ['.21-' asNumber = nil] raise: Error.
self should: ['.2-1' asNumber = nil] raise: Error.
self should: ['1.-2' asNumber = 1].
self should: ['1.2-' asNumber = 1.2].
self should: ['1-.2' asNumber = 1].
self should: ['1-2.' asNumber = 1].
self should: ['12-.' asNumber = 12].
self should: ['12.-' asNumber = 12].
self should: ['2.1-' asNumber = 2.1].
self should: ['2.-1' asNumber = 2].
self should: ['21.-' asNumber = 21].
self should: ['21-.' asNumber = 21].
self should: ['2-1.' asNumber = 2].
self should: ['2-.1' asNumber = 2].
self should: ['-..' asNumber = nil] raise: Error.
self should: ['-..' asNumber = nil] raise: Error.
self should: ['.-.' asNumber = nil] raise: Error.
self should: ['..-' asNumber = nil] raise: Error.
self should: ['..-' asNumber = nil] raise: Error.
self should: ['.-.' asNumber = nil] raise: Error.
self should: ['-..1' asNumber = nil] raise: Error.
self should: ['-.1.' asNumber = nil] raise: Error.
self should: ['-..1' asNumber = nil] raise: Error.
self should: ['-.1.' asNumber = nil] raise: Error.
self should: ['-1..' asNumber = -1].
self should: ['-1..' asNumber = -1].
self should: ['.-.1' asNumber = nil] raise: Error.
self should: ['.-1.' asNumber = nil] raise: Error.
self should: ['..-1' asNumber = nil] raise: Error.
self should: ['..1-' asNumber = nil] raise: Error.
self should: ['.1.-' asNumber = nil] raise: Error.
self should: ['.1-.' asNumber = nil] raise: Error.
self should: ['..-1' asNumber = nil] raise: Error.
self should: ['..1-' asNumber = nil] raise: Error.
self should: ['.-.1' asNumber = nil] raise: Error.
self should: ['.-1.' asNumber = nil] raise: Error.
self should: ['.1-.' asNumber = nil] raise: Error.
self should: ['.1.-' asNumber = nil] raise: Error.
self should: ['1..-' asNumber = 1].
self should: ['1.-.' asNumber = 1].
self should: ['1..-' asNumber = 1].
self should: ['1.-.' asNumber = 1].
self should: ['1-..' asNumber = 1].
self should: ['1-..' asNumber = 1].
self should: ['-..12' asNumber = nil] raise: Error.
self should: ['-..21' asNumber = nil] raise: Error.
self should: ['-.1.2' asNumber = nil] raise: Error.
self should: ['-.12.' asNumber = nil] raise: Error.
self should: ['-.21.' asNumber = nil] raise: Error.
self should: ['-.2.1' asNumber = nil] raise: Error.
self should: ['-..12' asNumber = nil] raise: Error.
self should: ['-..21' asNumber = nil] raise: Error.
self should: ['-.1.2' asNumber = nil] raise: Error.
self should: ['-.12.' asNumber = nil] raise: Error.
self should: ['-.21.' asNumber = nil] raise: Error.
self should: ['-.2.1' asNumber = nil] raise: Error.
self should: ['-1..2' asNumber = -1].
self should: ['-1.2.' asNumber = -1.2].
self should: ['-1..2' asNumber = -1].
self should: ['-1.2.' asNumber = -1.2].
self should: ['-12..' asNumber = -12].
self should: ['-12..' asNumber = -12].
self should: ['-2.1.' asNumber = -2.1].
self should: ['-2..1' asNumber = -2].
self should: ['-21..' asNumber = -21].
self should: ['-21..' asNumber = -21].
self should: ['-2.1.' asNumber = -2.1].
self should: ['-2..1' asNumber = -2].
self should: ['.-.12' asNumber = nil] raise: Error.
self should: ['.-.21' asNumber = nil] raise: Error.
self should: ['.-1.2' asNumber = nil] raise: Error.
self should: ['.-12.' asNumber = nil] raise: Error.
self should: ['.-21.' asNumber = nil] raise: Error.
self should: ['.-2.1' asNumber = nil] raise: Error.
self should: ['..-12' asNumber = nil] raise: Error.
self should: ['..-21' asNumber = nil] raise: Error.
self should: ['..1-2' asNumber = nil] raise: Error.
self should: ['..12-' asNumber = nil] raise: Error.
self should: ['..21-' asNumber = nil] raise: Error.
self should: ['..2-1' asNumber = nil] raise: Error.
self should: ['.1.-2' asNumber = nil] raise: Error.
self should: ['.1.2-' asNumber = nil] raise: Error.
self should: ['.1-.2' asNumber = nil] raise: Error.
self should: ['.1-2.' asNumber = nil] raise: Error.
self should: ['.12-.' asNumber = nil] raise: Error.
self should: ['.12.-' asNumber = nil] raise: Error.
self should: ['.2.1-' asNumber = nil] raise: Error.
self should: ['.2.-1' asNumber = nil] raise: Error.
self should: ['.21.-' asNumber = nil] raise: Error.
self should: ['.21-.' asNumber = nil] raise: Error.
self should: ['.2-1.' asNumber = nil] raise: Error.
self should: ['.2-.1' asNumber = nil] raise: Error.
self should: ['..-12' asNumber = nil] raise: Error.
self should: ['..-21' asNumber = nil] raise: Error.
self should: ['..1-2' asNumber = nil] raise: Error.
self should: ['..12-' asNumber = nil] raise: Error.
self should: ['..21-' asNumber = nil] raise: Error.
self should: ['..2-1' asNumber = nil] raise: Error.
self should: ['.-.12' asNumber = nil] raise: Error.
self should: ['.-.21' asNumber = nil] raise: Error.
self should: ['.-1.2' asNumber = nil] raise: Error.
self should: ['.-12.' asNumber = nil] raise: Error.
self should: ['.-21.' asNumber = nil] raise: Error.
self should: ['.-2.1' asNumber = nil] raise: Error.
self should: ['.1-.2' asNumber = nil] raise: Error.
self should: ['.1-2.' asNumber = nil] raise: Error.
self should: ['.1.-2' asNumber = nil] raise: Error.
self should: ['.1.2-' asNumber = nil] raise: Error.
self should: ['.12.-' asNumber = nil] raise: Error.
self should: ['.12-.' asNumber = nil] raise: Error.
self should: ['.2-1.' asNumber = nil] raise: Error.
self should: ['.2-.1' asNumber = nil] raise: Error.
self should: ['.21-.' asNumber = nil] raise: Error.
self should: ['.21.-' asNumber = nil] raise: Error.
self should: ['.2.1-' asNumber = nil] raise: Error.
self should: ['.2.-1' asNumber = nil] raise: Error.
self should: ['1..-2' asNumber = 1].
self should: ['1..2-' asNumber = 1].
self should: ['1.-.2' asNumber = 1].
self should: ['1.-2.' asNumber = 1].
self should: ['1.2-.' asNumber = 1.2].
self should: ['1.2.-' asNumber = 1.2].
self should: ['1..-2' asNumber = 1].
self should: ['1..2-' asNumber = 1].
self should: ['1.-.2' asNumber = 1].
self should: ['1.-2.' asNumber = 1].
self should: ['1.2-.' asNumber = 1.2].
self should: ['1.2.-' asNumber = 1.2].
self should: ['1-..2' asNumber = 1].
self should: ['1-.2.' asNumber = 1].
self should: ['1-..2' asNumber = 1].
self should: ['1-.2.' asNumber = 1].
self should: ['1-2..' asNumber = 1].
self should: ['1-2..' asNumber = 1].
self should: ['12.-.' asNumber = 12].
self should: ['12..-' asNumber = 12].
self should: ['12-..' asNumber = 12].
self should: ['12-..' asNumber = 12].
self should: ['12.-.' asNumber = 12].
self should: ['12..-' asNumber = 12].
self should: ['2..1-' asNumber = 2].
self should: ['2..-1' asNumber = 2].
self should: ['2.1.-' asNumber = 2.1].
self should: ['2.1-.' asNumber = 2.1].
self should: ['2.-1.' asNumber = 2].
self should: ['2.-.1' asNumber = 2].
self should: ['2..1-' asNumber = 2].
self should: ['2..-1' asNumber = 2].
self should: ['2.1.-' asNumber = 2.1].
self should: ['2.1-.' asNumber = 2.1].
self should: ['2.-1.' asNumber = 2].
self should: ['2.-.1' asNumber = 2].
self should: ['21..-' asNumber = 21].
self should: ['21.-.' asNumber = 21].
self should: ['21..-' asNumber = 21].
self should: ['21.-.' asNumber = 21].
self should: ['21-..' asNumber = 21].
self should: ['21-..' asNumber = 21].
self should: ['2-.1.' asNumber = 2].
self should: ['2-..1' asNumber = 2].
self should: ['2-1..' asNumber = 2].
self should: ['2-1..' asNumber = 2].
self should: ['2-.1.' asNumber = 2].
self should: ['2-..1' asNumber = 2].


SqNumberParserTest >>testcheckForCoverage2

self should: ['--.' asNumber = nil] raise: Error.
self should: ['-.-' asNumber = nil] raise: Error.
self should: ['--.' asNumber = nil] raise: Error.
self should: ['-.-' asNumber = nil] raise: Error.
self should: ['.--' asNumber = nil] raise: Error.
self should: ['.--' asNumber = nil] raise: Error.
self should: ['--..' asNumber = nil] raise: Error.
self should: ['--..' asNumber = nil] raise: Error.
self should: ['-.-.' asNumber = nil] raise: Error.
self should: ['-..-' asNumber = nil] raise: Error.
self should: ['-..-' asNumber = nil] raise: Error.
self should: ['-.-.' asNumber = nil] raise: Error.
self should: ['--..' asNumber = nil] raise: Error.
self should: ['--..' asNumber = nil] raise: Error.
self should: ['-.-.' asNumber = nil] raise: Error.
self should: ['-..-' asNumber = nil] raise: Error.
self should: ['-..-' asNumber = nil] raise: Error.
self should: ['-.-.' asNumber = nil] raise: Error.
self should: ['.--.' asNumber = nil] raise: Error.
self should: ['.-.-' asNumber = nil] raise: Error.
self should: ['.--.' asNumber = nil] raise: Error.
self should: ['.-.-' asNumber = nil] raise: Error.
self should: ['..--' asNumber = nil] raise: Error.
self should: ['..--' asNumber = nil] raise: Error.
self should: ['.-.-' asNumber = nil] raise: Error.
self should: ['.--.' asNumber = nil] raise: Error.
self should: ['..--' asNumber = nil] raise: Error.
self should: ['..--' asNumber = nil] raise: Error.
self should: ['.-.-' asNumber = nil] raise: Error.
self should: ['.--.' asNumber = nil] raise: Error.
self should: ['--..1' asNumber = nil] raise: Error.
self should: ['--.1.' asNumber = nil] raise: Error.
self should: ['--..1' asNumber = nil] raise: Error.
self should: ['--.1.' asNumber = nil] raise: Error.
self should: ['--1..' asNumber = nil] raise: Error.
self should: ['--1..' asNumber = nil] raise: Error.
self should: ['-.-.1' asNumber = nil] raise: Error.
self should: ['-.-1.' asNumber = nil] raise: Error.
self should: ['-..-1' asNumber = nil] raise: Error.
self should: ['-..1-' asNumber = nil] raise: Error.
self should: ['-.1.-' asNumber = nil] raise: Error.
self should: ['-.1-.' asNumber = nil] raise: Error.
self should: ['-..-1' asNumber = nil] raise: Error.
self should: ['-..1-' asNumber = nil] raise: Error.
self should: ['-.-.1' asNumber = nil] raise: Error.
self should: ['-.-1.' asNumber = nil] raise: Error.
self should: ['-.1-.' asNumber = nil] raise: Error.
self should: ['-.1.-' asNumber = nil] raise: Error.
self should: ['-1..-' asNumber = -1].
self should: ['-1.-.' asNumber = -1].
self should: ['-1..-' asNumber = -1].
self should: ['-1.-.' asNumber = -1].
self should: ['-1-..' asNumber = -1].
self should: ['-1-..' asNumber = -1].
self should: ['--..1' asNumber = nil] raise: Error.
self should: ['--.1.' asNumber = nil] raise: Error.
self should: ['--..1' asNumber = nil] raise: Error.
self should: ['--.1.' asNumber = nil] raise: Error.
self should: ['--1..' asNumber = nil] raise: Error.
self should: ['--1..' asNumber = nil] raise: Error.
self should: ['-.-.1' asNumber = nil] raise: Error.
self should: ['-.-1.' asNumber = nil] raise: Error.
self should: ['-..-1' asNumber = nil] raise: Error.
self should: ['-..1-' asNumber = nil] raise: Error.
self should: ['-.1.-' asNumber = nil] raise: Error.
self should: ['-.1-.' asNumber = nil] raise: Error.
self should: ['-..-1' asNumber = nil] raise: Error.
self should: ['-..1-' asNumber = nil] raise: Error.
self should: ['-.-.1' asNumber = nil] raise: Error.
self should: ['-.-1.' asNumber = nil] raise: Error.
self should: ['-.1-.' asNumber = nil] raise: Error.
self should: ['-.1.-' asNumber = nil] raise: Error.
self should: ['-1..-' asNumber = -1].
self should: ['-1.-.' asNumber = -1].
self should: ['-1..-' asNumber = -1].
self should: ['-1.-.' asNumber = -1].
self should: ['-1-..' asNumber = -1].
self should: ['-1-..' asNumber = -1].
self should: ['.--.1' asNumber = nil] raise: Error.
self should: ['.--1.' asNumber = nil] raise: Error.
self should: ['.-.-1' asNumber = nil] raise: Error.
self should: ['.-.1-' asNumber = nil] raise: Error.
self should: ['.-1.-' asNumber = nil] raise: Error.
self should: ['.-1-.' asNumber = nil] raise: Error.
self should: ['.--.1' asNumber = nil] raise: Error.
self should: ['.--1.' asNumber = nil] raise: Error.
self should: ['.-.-1' asNumber = nil] raise: Error.
self should: ['.-.1-' asNumber = nil] raise: Error.
self should: ['.-1.-' asNumber = nil] raise: Error.
self should: ['.-1-.' asNumber = nil] raise: Error.
self should: ['..--1' asNumber = nil] raise: Error.
self should: ['..-1-' asNumber = nil] raise: Error.
self should: ['..--1' asNumber = nil] raise: Error.
self should: ['..-1-' asNumber = nil] raise: Error.
self should: ['..1--' asNumber = nil] raise: Error.
self should: ['..1--' asNumber = nil] raise: Error.
self should: ['.1-.-' asNumber = nil] raise: Error.
self should: ['.1--.' asNumber = nil] raise: Error.
self should: ['.1.--' asNumber = nil] raise: Error.
self should: ['.1.--' asNumber = nil] raise: Error.
self should: ['.1-.-' asNumber = nil] raise: Error.
self should: ['.1--.' asNumber = nil] raise: Error.
self should: ['.-.-1' asNumber = nil] raise: Error.
self should: ['.-.1-' asNumber = nil] raise: Error.
self should: ['.--.1' asNumber = nil] raise: Error.
self should: ['.--1.' asNumber = nil] raise: Error.
self should: ['.-1-.' asNumber = nil] raise: Error.
self should: ['.-1.-' asNumber = nil] raise: Error.
self should: ['..--1' asNumber = nil] raise: Error.
self should: ['..-1-' asNumber = nil] raise: Error.
self should: ['..--1' asNumber = nil] raise: Error.
self should: ['..-1-' asNumber = nil] raise: Error.
self should: ['..1--' asNumber = nil] raise: Error.
self should: ['..1--' asNumber = nil] raise: Error.
self should: ['.-.-1' asNumber = nil] raise: Error.
self should: ['.-.1-' asNumber = nil] raise: Error.
self should: ['.--.1' asNumber = nil] raise: Error.
self should: ['.--1.' asNumber = nil] raise: Error.
self should: ['.-1-.' asNumber = nil] raise: Error.
self should: ['.-1.-' asNumber = nil] raise: Error.
self should: ['.1.--' asNumber = nil] raise: Error.
self should: ['.1.--' asNumber = nil] raise: Error.
self should: ['.1-.-' asNumber = nil] raise: Error.
self should: ['.1--.' asNumber = nil] raise: Error.
self should: ['.1--.' asNumber = nil] raise: Error.
self should: ['.1-.-' asNumber = nil] raise: Error.
self should: ['1-..-' asNumber = 1].
self should: ['1-.-.' asNumber = 1].
self should: ['1-..-' asNumber = 1].
self should: ['1-.-.' asNumber = 1].
self should: ['1--..' asNumber = 1].
self should: ['1--..' asNumber = 1].
self should: ['1.-.-' asNumber = 1].
self should: ['1.--.' asNumber = 1].
self should: ['1..--' asNumber = 1].
self should: ['1..--' asNumber = 1].
self should: ['1.-.-' asNumber = 1].
self should: ['1.--.' asNumber = 1].
self should: ['1..--' asNumber = 1].
self should: ['1..--' asNumber = 1].
self should: ['1.-.-' asNumber = 1].
self should: ['1.--.' asNumber = 1].
self should: ['1.--.' asNumber = 1].
self should: ['1.-.-' asNumber = 1].
self should: ['1-..-' asNumber = 1].
self should: ['1-.-.' asNumber = 1].
self should: ['1-..-' asNumber = 1].
self should: ['1-.-.' asNumber = 1].
self should: ['1--..' asNumber = 1].
self should: ['1--..' asNumber = 1].


SqNumberParserTest >>testcheckForCoverage3

self should: ['--..12' asNumber = nil] raise: Error.
self should: ['--..21' asNumber = nil] raise: Error.
self should: ['--.1.2' asNumber = nil] raise: Error.
self should: ['--.12.' asNumber = nil] raise: Error.
self should: ['--.21.' asNumber = nil] raise: Error.
self should: ['--.2.1' asNumber = nil] raise: Error.
self should: ['--..12' asNumber = nil] raise: Error.
self should: ['--..21' asNumber = nil] raise: Error.
self should: ['--.1.2' asNumber = nil] raise: Error.
self should: ['--.12.' asNumber = nil] raise: Error.
self should: ['--.21.' asNumber = nil] raise: Error.
self should: ['--.2.1' asNumber = nil] raise: Error.
self should: ['--1..2' asNumber = nil] raise: Error.
self should: ['--1.2.' asNumber = nil] raise: Error.
self should: ['--1..2' asNumber = nil] raise: Error.
self should: ['--1.2.' asNumber = nil] raise: Error.
self should: ['--12..' asNumber = nil] raise: Error.
self should: ['--12..' asNumber = nil] raise: Error.
self should: ['--2.1.' asNumber = nil] raise: Error.
self should: ['--2..1' asNumber = nil] raise: Error.
self should: ['--21..' asNumber = nil] raise: Error.
self should: ['--21..' asNumber = nil] raise: Error.
self should: ['--2.1.' asNumber = nil] raise: Error.
self should: ['--2..1' asNumber = nil] raise: Error.
self should: ['-.-.12' asNumber = nil] raise: Error.
self should: ['-.-.21' asNumber = nil] raise: Error.
self should: ['-.-1.2' asNumber = nil] raise: Error.
self should: ['-.-12.' asNumber = nil] raise: Error.
self should: ['-.-21.' asNumber = nil] raise: Error.
self should: ['-.-2.1' asNumber = nil] raise: Error.
self should: ['-..-12' asNumber = nil] raise: Error.
self should: ['-..-21' asNumber = nil] raise: Error.
self should: ['-..1-2' asNumber = nil] raise: Error.
self should: ['-..12-' asNumber = nil] raise: Error.
self should: ['-..21-' asNumber = nil] raise: Error.
self should: ['-..2-1' asNumber = nil] raise: Error.
self should: ['-.1.-2' asNumber = nil] raise: Error.
self should: ['-.1.2-' asNumber = nil] raise: Error.
self should: ['-.1-.2' asNumber = nil] raise: Error.
self should: ['-.1-2.' asNumber = nil] raise: Error.
self should: ['-.12-.' asNumber = nil] raise: Error.
self should: ['-.12.-' asNumber = nil] raise: Error.
self should: ['-.2.1-' asNumber = nil] raise: Error.
self should: ['-.2.-1' asNumber = nil] raise: Error.
self should: ['-.21.-' asNumber = nil] raise: Error.
self should: ['-.21-.' asNumber = nil] raise: Error.
self should: ['-.2-1.' asNumber = nil] raise: Error.
self should: ['-.2-.1' asNumber = nil] raise: Error.
self should: ['-..-12' asNumber = nil] raise: Error.
self should: ['-..-21' asNumber = nil] raise: Error.
self should: ['-..1-2' asNumber = nil] raise: Error.
self should: ['-..12-' asNumber = nil] raise: Error.
self should: ['-..21-' asNumber = nil] raise: Error.
self should: ['-..2-1' asNumber = nil] raise: Error.
self should: ['-.-.12' asNumber = nil] raise: Error.
self should: ['-.-.21' asNumber = nil] raise: Error.
self should: ['-.-1.2' asNumber = nil] raise: Error.
self should: ['-.-12.' asNumber = nil] raise: Error.
self should: ['-.-21.' asNumber = nil] raise: Error.
self should: ['-.-2.1' asNumber = nil] raise: Error.
self should: ['-.1-.2' asNumber = nil] raise: Error.
self should: ['-.1-2.' asNumber = nil] raise: Error.
self should: ['-.1.-2' asNumber = nil] raise: Error.
self should: ['-.1.2-' asNumber = nil] raise: Error.
self should: ['-.12.-' asNumber = nil] raise: Error.
self should: ['-.12-.' asNumber = nil] raise: Error.
self should: ['-.2-1.' asNumber = nil] raise: Error.
self should: ['-.2-.1' asNumber = nil] raise: Error.
self should: ['-.21-.' asNumber = nil] raise: Error.
self should: ['-.21.-' asNumber = nil] raise: Error.
self should: ['-.2.1-' asNumber = nil] raise: Error.
self should: ['-.2.-1' asNumber = nil] raise: Error.
self should: ['-1..-2' asNumber = -1].
self should: ['-1..2-' asNumber = -1].
self should: ['-1.-.2' asNumber = -1].
self should: ['-1.-2.' asNumber = -1].
self should: ['-1.2-.' asNumber = -1.2].
self should: ['-1.2.-' asNumber = -1.2].
self should: ['-1..-2' asNumber = -1].
self should: ['-1..2-' asNumber = -1].
self should: ['-1.-.2' asNumber = -1].
self should: ['-1.-2.' asNumber = -1].
self should: ['-1.2-.' asNumber = -1.2].
self should: ['-1.2.-' asNumber = -1.2].
self should: ['-1-..2' asNumber = -1].
self should: ['-1-.2.' asNumber = -1].
self should: ['-1-..2' asNumber = -1].
self should: ['-1-.2.' asNumber = -1].
self should: ['-1-2..' asNumber = -1].
self should: ['-1-2..' asNumber = -1].
self should: ['-12.-.' asNumber = -12].
self should: ['-12..-' asNumber = -12].
self should: ['-12-..' asNumber = -12].
self should: ['-12-..' asNumber = -12].
self should: ['-12.-.' asNumber = -12].
self should: ['-12..-' asNumber = -12].
self should: ['-2..1-' asNumber = -2].
self should: ['-2..-1' asNumber = -2].
self should: ['-2.1.-' asNumber = -2.1].
self should: ['-2.1-.' asNumber = -2.1].
self should: ['-2.-1.' asNumber = -2].
self should: ['-2.-.1' asNumber = -2].
self should: ['-2..1-' asNumber = -2].
self should: ['-2..-1' asNumber = -2].
self should: ['-2.1.-' asNumber = -2.1].
self should: ['-2.1-.' asNumber = -2.1].
self should: ['-2.-1.' asNumber = -2].
self should: ['-2.-.1' asNumber = -2].
self should: ['-21..-' asNumber = -21].
self should: ['-21.-.' asNumber = -21].
self should: ['-21..-' asNumber = -21].
self should: ['-21.-.' asNumber = -21].
self should: ['-21-..' asNumber = -21].
self should: ['-21-..' asNumber = -21].
self should: ['-2-.1.' asNumber = -2].
self should: ['-2-..1' asNumber = -2].
self should: ['-2-1..' asNumber = -2].
self should: ['-2-1..' asNumber = -2].
self should: ['-2-.1.' asNumber = -2].
self should: ['-2-..1' asNumber = -2].
self should: ['--..12' asNumber = nil] raise: Error.
self should: ['--..21' asNumber = nil] raise: Error.
self should: ['--.1.2' asNumber = nil] raise: Error.
self should: ['--.12.' asNumber = nil] raise: Error.
self should: ['--.21.' asNumber = nil] raise: Error.
self should: ['--.2.1' asNumber = nil] raise: Error.
self should: ['--..12' asNumber = nil] raise: Error.
self should: ['--..21' asNumber = nil] raise: Error.
self should: ['--.1.2' asNumber = nil] raise: Error.
self should: ['--.12.' asNumber = nil] raise: Error.
self should: ['--.21.' asNumber = nil] raise: Error.
self should: ['--.2.1' asNumber = nil] raise: Error.
self should: ['--1..2' asNumber = nil] raise: Error.
self should: ['--1.2.' asNumber = nil] raise: Error.
self should: ['--1..2' asNumber = nil] raise: Error.
self should: ['--1.2.' asNumber = nil] raise: Error.
self should: ['--12..' asNumber = nil] raise: Error.
self should: ['--12..' asNumber = nil] raise: Error.
self should: ['--2.1.' asNumber = nil] raise: Error.
self should: ['--2..1' asNumber = nil] raise: Error.
self should: ['--21..' asNumber = nil] raise: Error.
self should: ['--21..' asNumber = nil] raise: Error.
self should: ['--2.1.' asNumber = nil] raise: Error.
self should: ['--2..1' asNumber = nil] raise: Error.
self should: ['-.-.12' asNumber = nil] raise: Error.
self should: ['-.-.21' asNumber = nil] raise: Error.
self should: ['-.-1.2' asNumber = nil] raise: Error.
self should: ['-.-12.' asNumber = nil] raise: Error.
self should: ['-.-21.' asNumber = nil] raise: Error.
self should: ['-.-2.1' asNumber = nil] raise: Error.
self should: ['-..-12' asNumber = nil] raise: Error.
self should: ['-..-21' asNumber = nil] raise: Error.
self should: ['-..1-2' asNumber = nil] raise: Error.
self should: ['-..12-' asNumber = nil] raise: Error.
self should: ['-..21-' asNumber = nil] raise: Error.
self should: ['-..2-1' asNumber = nil] raise: Error.
self should: ['-.1.-2' asNumber = nil] raise: Error.
self should: ['-.1.2-' asNumber = nil] raise: Error.
self should: ['-.1-.2' asNumber = nil] raise: Error.
self should: ['-.1-2.' asNumber = nil] raise: Error.
self should: ['-.12-.' asNumber = nil] raise: Error.
self should: ['-.12.-' asNumber = nil] raise: Error.
self should: ['-.2.1-' asNumber = nil] raise: Error.
self should: ['-.2.-1' asNumber = nil] raise: Error.
self should: ['-.21.-' asNumber = nil] raise: Error.
self should: ['-.21-.' asNumber = nil] raise: Error.
self should: ['-.2-1.' asNumber = nil] raise: Error.
self should: ['-.2-.1' asNumber = nil] raise: Error.
self should: ['-..-12' asNumber = nil] raise: Error.
self should: ['-..-21' asNumber = nil] raise: Error.
self should: ['-..1-2' asNumber = nil] raise: Error.
self should: ['-..12-' asNumber = nil] raise: Error.
self should: ['-..21-' asNumber = nil] raise: Error.
self should: ['-..2-1' asNumber = nil] raise: Error.
self should: ['-.-.12' asNumber = nil] raise: Error.
self should: ['-.-.21' asNumber = nil] raise: Error.
self should: ['-.-1.2' asNumber = nil] raise: Error.
self should: ['-.-12.' asNumber = nil] raise: Error.
self should: ['-.-21.' asNumber = nil] raise: Error.
self should: ['-.-2.1' asNumber = nil] raise: Error.
self should: ['-.1-.2' asNumber = nil] raise: Error.
self should: ['-.1-2.' asNumber = nil] raise: Error.
self should: ['-.1.-2' asNumber = nil] raise: Error.
self should: ['-.1.2-' asNumber = nil] raise: Error.
self should: ['-.12.-' asNumber = nil] raise: Error.
self should: ['-.12-.' asNumber = nil] raise: Error.
self should: ['-.2-1.' asNumber = nil] raise: Error.
self should: ['-.2-.1' asNumber = nil] raise: Error.
self should: ['-.21-.' asNumber = nil] raise: Error.
self should: ['-.21.-' asNumber = nil] raise: Error.
self should: ['-.2.1-' asNumber = nil] raise: Error.
self should: ['-.2.-1' asNumber = nil] raise: Error.
self should: ['-1..-2' asNumber = -1].
self should: ['-1..2-' asNumber = -1].
self should: ['-1.-.2' asNumber = -1].
self should: ['-1.-2.' asNumber = -1].
self should: ['-1.2-.' asNumber = -1.2].
self should: ['-1.2.-' asNumber = -1.2].
self should: ['-1..-2' asNumber = -1].
self should: ['-1..2-' asNumber = -1].
self should: ['-1.-.2' asNumber = -1].
self should: ['-1.-2.' asNumber = -1].
self should: ['-1.2-.' asNumber = -1.2].
self should: ['-1.2.-' asNumber = -1.2].
self should: ['-1-..2' asNumber = -1].
self should: ['-1-.2.' asNumber = -1].
self should: ['-1-..2' asNumber = -1].
self should: ['-1-.2.' asNumber = -1].
self should: ['-1-2..' asNumber = -1].
self should: ['-1-2..' asNumber = -1].
self should: ['-12.-.' asNumber = -12].
self should: ['-12..-' asNumber = -12].
self should: ['-12-..' asNumber = -12].
self should: ['-12-..' asNumber = -12].
self should: ['-12.-.' asNumber = -12].
self should: ['-12..-' asNumber = -12].
self should: ['-2..1-' asNumber = -2].
self should: ['-2..-1' asNumber = -2].
self should: ['-2.1.-' asNumber = -2.1].
self should: ['-2.1-.' asNumber = -2.1].
self should: ['-2.-1.' asNumber = -2].
self should: ['-2.-.1' asNumber = -2].
self should: ['-2..1-' asNumber = -2].
self should: ['-2..-1' asNumber = -2].
self should: ['-2.1.-' asNumber = -2.1].
self should: ['-2.1-.' asNumber = -2.1].
self should: ['-2.-1.' asNumber = -2].
self should: ['-2.-.1' asNumber = -2].
self should: ['-21..-' asNumber = -21].
self should: ['-21.-.' asNumber = -21].
self should: ['-21..-' asNumber = -21].
self should: ['-21.-.' asNumber = -21].
self should: ['-21-..' asNumber = -21].
self should: ['-21-..' asNumber = -21].
self should: ['-2-.1.' asNumber = -2].
self should: ['-2-..1' asNumber = -2].
self should: ['-2-1..' asNumber = -2].
self should: ['-2-1..' asNumber = -2].
self should: ['-2-.1.' asNumber = -2].
self should: ['-2-..1' asNumber = -2].
self should: ['.--.12' asNumber = nil] raise: Error.
self should: ['.--.21' asNumber = nil] raise: Error.
self should: ['.--1.2' asNumber = nil] raise: Error.
self should: ['.--12.' asNumber = nil] raise: Error.
self should: ['.--21.' asNumber = nil] raise: Error.
self should: ['.--2.1' asNumber = nil] raise: Error.
self should: ['.-.-12' asNumber = nil] raise: Error.
self should: ['.-.-21' asNumber = nil] raise: Error.
self should: ['.-.1-2' asNumber = nil] raise: Error.
self should: ['.-.12-' asNumber = nil] raise: Error.
self should: ['.-.21-' asNumber = nil] raise: Error.
self should: ['.-.2-1' asNumber = nil] raise: Error.
self should: ['.-1.-2' asNumber = nil] raise: Error.
self should: ['.-1.2-' asNumber = nil] raise: Error.
self should: ['.-1-.2' asNumber = nil] raise: Error.
self should: ['.-1-2.' asNumber = nil] raise: Error.
self should: ['.-12-.' asNumber = nil] raise: Error.
self should: ['.-12.-' asNumber = nil] raise: Error.
self should: ['.-2.1-' asNumber = nil] raise: Error.
self should: ['.-2.-1' asNumber = nil] raise: Error.
self should: ['.-21.-' asNumber = nil] raise: Error.
self should: ['.-21-.' asNumber = nil] raise: Error.
self should: ['.-2-1.' asNumber = nil] raise: Error.
self should: ['.-2-.1' asNumber = nil] raise: Error.
self should: ['.--.12' asNumber = nil] raise: Error.
self should: ['.--.21' asNumber = nil] raise: Error.
self should: ['.--1.2' asNumber = nil] raise: Error.
self should: ['.--12.' asNumber = nil] raise: Error.
self should: ['.--21.' asNumber = nil] raise: Error.
self should: ['.--2.1' asNumber = nil] raise: Error.
self should: ['.-.-12' asNumber = nil] raise: Error.
self should: ['.-.-21' asNumber = nil] raise: Error.
self should: ['.-.1-2' asNumber = nil] raise: Error.
self should: ['.-.12-' asNumber = nil] raise: Error.
self should: ['.-.21-' asNumber = nil] raise: Error.
self should: ['.-.2-1' asNumber = nil] raise: Error.
self should: ['.-1.-2' asNumber = nil] raise: Error.
self should: ['.-1.2-' asNumber = nil] raise: Error.
self should: ['.-1-.2' asNumber = nil] raise: Error.
self should: ['.-1-2.' asNumber = nil] raise: Error.
self should: ['.-12-.' asNumber = nil] raise: Error.
self should: ['.-12.-' asNumber = nil] raise: Error.
self should: ['.-2.1-' asNumber = nil] raise: Error.
self should: ['.-2.-1' asNumber = nil] raise: Error.
self should: ['.-21.-' asNumber = nil] raise: Error.
self should: ['.-21-.' asNumber = nil] raise: Error.
self should: ['.-2-1.' asNumber = nil] raise: Error.
self should: ['.-2-.1' asNumber = nil] raise: Error.
self should: ['..--12' asNumber = nil] raise: Error.
self should: ['..--21' asNumber = nil] raise: Error.
self should: ['..-1-2' asNumber = nil] raise: Error.
self should: ['..-12-' asNumber = nil] raise: Error.
self should: ['..-21-' asNumber = nil] raise: Error.
self should: ['..-2-1' asNumber = nil] raise: Error.
self should: ['..--12' asNumber = nil] raise: Error.
self should: ['..--21' asNumber = nil] raise: Error.
self should: ['..-1-2' asNumber = nil] raise: Error.
self should: ['..-12-' asNumber = nil] raise: Error.
self should: ['..-21-' asNumber = nil] raise: Error.
self should: ['..-2-1' asNumber = nil] raise: Error.
self should: ['..1--2' asNumber = nil] raise: Error.
self should: ['..1-2-' asNumber = nil] raise: Error.
self should: ['..1--2' asNumber = nil] raise: Error.
self should: ['..1-2-' asNumber = nil] raise: Error.
self should: ['..12--' asNumber = nil] raise: Error.
self should: ['..12--' asNumber = nil] raise: Error.
self should: ['..2-1-' asNumber = nil] raise: Error.
self should: ['..2--1' asNumber = nil] raise: Error.
self should: ['..21--' asNumber = nil] raise: Error.
self should: ['..21--' asNumber = nil] raise: Error.
self should: ['..2-1-' asNumber = nil] raise: Error.
self should: ['..2--1' asNumber = nil] raise: Error.
self should: ['.1-.-2' asNumber = nil] raise: Error.
self should: ['.1-.2-' asNumber = nil] raise: Error.
self should: ['.1--.2' asNumber = nil] raise: Error.
self should: ['.1--2.' asNumber = nil] raise: Error.
self should: ['.1-2-.' asNumber = nil] raise: Error.
self should: ['.1-2.-' asNumber = nil] raise: Error.
self should: ['.1.--2' asNumber = nil] raise: Error.
self should: ['.1.-2-' asNumber = nil] raise: Error.
self should: ['.1.--2' asNumber = nil] raise: Error.
self should: ['.1.-2-' asNumber = nil] raise: Error.
self should: ['.1.2--' asNumber = nil] raise: Error.
self should: ['.1.2--' asNumber = nil] raise: Error.
self should: ['.1-.-2' asNumber = nil] raise: Error.
self should: ['.1-.2-' asNumber = nil] raise: Error.
self should: ['.1--.2' asNumber = nil] raise: Error.
self should: ['.1--2.' asNumber = nil] raise: Error.
self should: ['.1-2-.' asNumber = nil] raise: Error.
self should: ['.1-2.-' asNumber = nil] raise: Error.
self should: ['.12.--' asNumber = nil] raise: Error.
self should: ['.12.--' asNumber = nil] raise: Error.
self should: ['.12-.-' asNumber = nil] raise: Error.
self should: ['.12--.' asNumber = nil] raise: Error.
self should: ['.12--.' asNumber = nil] raise: Error.
self should: ['.12-.-' asNumber = nil] raise: Error.
self should: ['.2-.1-' asNumber = nil] raise: Error.
self should: ['.2-.-1' asNumber = nil] raise: Error.
self should: ['.2-1.-' asNumber = nil] raise: Error.
self should: ['.2-1-.' asNumber = nil] raise: Error.
self should: ['.2--1.' asNumber = nil] raise: Error.
self should: ['.2--.1' asNumber = nil] raise: Error.
self should: ['.2.-1-' asNumber = nil] raise: Error.
self should: ['.2.--1' asNumber = nil] raise: Error.
self should: ['.2.1--' asNumber = nil] raise: Error.
self should: ['.2.1--' asNumber = nil] raise: Error.
self should: ['.2.-1-' asNumber = nil] raise: Error.
self should: ['.2.--1' asNumber = nil] raise: Error.
self should: ['.21.--' asNumber = nil] raise: Error.
self should: ['.21.--' asNumber = nil] raise: Error.
self should: ['.21-.-' asNumber = nil] raise: Error.
self should: ['.21--.' asNumber = nil] raise: Error.
self should: ['.21--.' asNumber = nil] raise: Error.
self should: ['.21-.-' asNumber = nil] raise: Error.
self should: ['.2-.1-' asNumber = nil] raise: Error.
self should: ['.2-.-1' asNumber = nil] raise: Error.
self should: ['.2-1.-' asNumber = nil] raise: Error.
self should: ['.2-1-.' asNumber = nil] raise: Error.
self should: ['.2--1.' asNumber = nil] raise: Error.
self should: ['.2--.1' asNumber = nil] raise: Error.
self should: ['.-.-12' asNumber = nil] raise: Error.
self should: ['.-.-21' asNumber = nil] raise: Error.
self should: ['.-.1-2' asNumber = nil] raise: Error.
self should: ['.-.12-' asNumber = nil] raise: Error.
self should: ['.-.21-' asNumber = nil] raise: Error.
self should: ['.-.2-1' asNumber = nil] raise: Error.
self should: ['.--.12' asNumber = nil] raise: Error.
self should: ['.--.21' asNumber = nil] raise: Error.
self should: ['.--1.2' asNumber = nil] raise: Error.
self should: ['.--12.' asNumber = nil] raise: Error.
self should: ['.--21.' asNumber = nil] raise: Error.
self should: ['.--2.1' asNumber = nil] raise: Error.
self should: ['.-1-.2' asNumber = nil] raise: Error.
self should: ['.-1-2.' asNumber = nil] raise: Error.
self should: ['.-1.-2' asNumber = nil] raise: Error.
self should: ['.-1.2-' asNumber = nil] raise: Error.
self should: ['.-12.-' asNumber = nil] raise: Error.
self should: ['.-12-.' asNumber = nil] raise: Error.
self should: ['.-2-1.' asNumber = nil] raise: Error.
self should: ['.-2-.1' asNumber = nil] raise: Error.
self should: ['.-21-.' asNumber = nil] raise: Error.
self should: ['.-21.-' asNumber = nil] raise: Error.
self should: ['.-2.1-' asNumber = nil] raise: Error.
self should: ['.-2.-1' asNumber = nil] raise: Error.
self should: ['..--12' asNumber = nil] raise: Error.
self should: ['..--21' asNumber = nil] raise: Error.
self should: ['..-1-2' asNumber = nil] raise: Error.
self should: ['..-12-' asNumber = nil] raise: Error.
self should: ['..-21-' asNumber = nil] raise: Error.
self should: ['..-2-1' asNumber = nil] raise: Error.
self should: ['..--12' asNumber = nil] raise: Error.
self should: ['..--21' asNumber = nil] raise: Error.
self should: ['..-1-2' asNumber = nil] raise: Error.
self should: ['..-12-' asNumber = nil] raise: Error.
self should: ['..-21-' asNumber = nil] raise: Error.
self should: ['..-2-1' asNumber = nil] raise: Error.
self should: ['..1--2' asNumber = nil] raise: Error.
self should: ['..1-2-' asNumber = nil] raise: Error.
self should: ['..1--2' asNumber = nil] raise: Error.
self should: ['..1-2-' asNumber = nil] raise: Error.
self should: ['..12--' asNumber = nil] raise: Error.
self should: ['..12--' asNumber = nil] raise: Error.
self should: ['..2-1-' asNumber = nil] raise: Error.
self should: ['..2--1' asNumber = nil] raise: Error.
self should: ['..21--' asNumber = nil] raise: Error.
self should: ['..21--' asNumber = nil] raise: Error.
self should: ['..2-1-' asNumber = nil] raise: Error.
self should: ['..2--1' asNumber = nil] raise: Error.
self should: ['.-.-12' asNumber = nil] raise: Error.
self should: ['.-.-21' asNumber = nil] raise: Error.
self should: ['.-.1-2' asNumber = nil] raise: Error.
self should: ['.-.12-' asNumber = nil] raise: Error.
self should: ['.-.21-' asNumber = nil] raise: Error.
self should: ['.-.2-1' asNumber = nil] raise: Error.
self should: ['.--.12' asNumber = nil] raise: Error.
self should: ['.--.21' asNumber = nil] raise: Error.
self should: ['.--1.2' asNumber = nil] raise: Error.
self should: ['.--12.' asNumber = nil] raise: Error.
self should: ['.--21.' asNumber = nil] raise: Error.
self should: ['.--2.1' asNumber = nil] raise: Error.
self should: ['.-1-.2' asNumber = nil] raise: Error.
self should: ['.-1-2.' asNumber = nil] raise: Error.
self should: ['.-1.-2' asNumber = nil] raise: Error.
self should: ['.-1.2-' asNumber = nil] raise: Error.
self should: ['.-12.-' asNumber = nil] raise: Error.
self should: ['.-12-.' asNumber = nil] raise: Error.
self should: ['.-2-1.' asNumber = nil] raise: Error.
self should: ['.-2-.1' asNumber = nil] raise: Error.
self should: ['.-21-.' asNumber = nil] raise: Error.
self should: ['.-21.-' asNumber = nil] raise: Error.
self should: ['.-2.1-' asNumber = nil] raise: Error.
self should: ['.-2.-1' asNumber = nil] raise: Error.
self should: ['.1.--2' asNumber = nil] raise: Error.
self should: ['.1.-2-' asNumber = nil] raise: Error.
self should: ['.1.--2' asNumber = nil] raise: Error.
self should: ['.1.-2-' asNumber = nil] raise: Error.
self should: ['.1.2--' asNumber = nil] raise: Error.
self should: ['.1.2--' asNumber = nil] raise: Error.
self should: ['.1-.-2' asNumber = nil] raise: Error.
self should: ['.1-.2-' asNumber = nil] raise: Error.
self should: ['.1--.2' asNumber = nil] raise: Error.
self should: ['.1--2.' asNumber = nil] raise: Error.
self should: ['.1-2-.' asNumber = nil] raise: Error.
self should: ['.1-2.-' asNumber = nil] raise: Error.
self should: ['.1--.2' asNumber = nil] raise: Error.
self should: ['.1--2.' asNumber = nil] raise: Error.
self should: ['.1-.-2' asNumber = nil] raise: Error.
self should: ['.1-.2-' asNumber = nil] raise: Error.
self should: ['.1-2.-' asNumber = nil] raise: Error.
self should: ['.1-2-.' asNumber = nil] raise: Error.
self should: ['.12--.' asNumber = nil] raise: Error.
self should: ['.12-.-' asNumber = nil] raise: Error.
self should: ['.12--.' asNumber = nil] raise: Error.
self should: ['.12-.-' asNumber = nil] raise: Error.
self should: ['.12.--' asNumber = nil] raise: Error.
self should: ['.12.--' asNumber = nil] raise: Error.
self should: ['.2.-1-' asNumber = nil] raise: Error.
self should: ['.2.--1' asNumber = nil] raise: Error.
self should: ['.2.1--' asNumber = nil] raise: Error.
self should: ['.2.1--' asNumber = nil] raise: Error.
self should: ['.2.-1-' asNumber = nil] raise: Error.
self should: ['.2.--1' asNumber = nil] raise: Error.
self should: ['.2-.1-' asNumber = nil] raise: Error.
self should: ['.2-.-1' asNumber = nil] raise: Error.
self should: ['.2-1.-' asNumber = nil] raise: Error.
self should: ['.2-1-.' asNumber = nil] raise: Error.
self should: ['.2--1.' asNumber = nil] raise: Error.
self should: ['.2--.1' asNumber = nil] raise: Error.
self should: ['.21-.-' asNumber = nil] raise: Error.
self should: ['.21--.' asNumber = nil] raise: Error.
self should: ['.21.--' asNumber = nil] raise: Error.
self should: ['.21.--' asNumber = nil] raise: Error.
self should: ['.21-.-' asNumber = nil] raise: Error.
self should: ['.21--.' asNumber = nil] raise: Error.
self should: ['.2--1.' asNumber = nil] raise: Error.
self should: ['.2--.1' asNumber = nil] raise: Error.
self should: ['.2-1-.' asNumber = nil] raise: Error.
self should: ['.2-1.-' asNumber = nil] raise: Error.
self should: ['.2-.1-' asNumber = nil] raise: Error.
self should: ['.2-.-1' asNumber = nil] raise: Error.
self should: ['1-..-2' asNumber = 1].
self should: ['1-..2-' asNumber = 1].
self should: ['1-.-.2' asNumber = 1].
self should: ['1-.-2.' asNumber = 1].
self should: ['1-.2-.' asNumber = 1].
self should: ['1-.2.-' asNumber = 1].
self should: ['1-..-2' asNumber = 1].
self should: ['1-..2-' asNumber = 1].
self should: ['1-.-.2' asNumber = 1].
self should: ['1-.-2.' asNumber = 1].
self should: ['1-.2-.' asNumber = 1].
self should: ['1-.2.-' asNumber = 1].
self should: ['1--..2' asNumber = 1].
self should: ['1--.2.' asNumber = 1].
self should: ['1--..2' asNumber = 1].
self should: ['1--.2.' asNumber = 1].
self should: ['1--2..' asNumber = 1].
self should: ['1--2..' asNumber = 1].
self should: ['1-2.-.' asNumber = 1].
self should: ['1-2..-' asNumber = 1].
self should: ['1-2-..' asNumber = 1].
self should: ['1-2-..' asNumber = 1].
self should: ['1-2.-.' asNumber = 1].
self should: ['1-2..-' asNumber = 1].
self should: ['1.-.-2' asNumber = 1].
self should: ['1.-.2-' asNumber = 1].
self should: ['1.--.2' asNumber = 1].
self should: ['1.--2.' asNumber = 1].
self should: ['1.-2-.' asNumber = 1].
self should: ['1.-2.-' asNumber = 1].
self should: ['1..--2' asNumber = 1].
self should: ['1..-2-' asNumber = 1].
self should: ['1..--2' asNumber = 1].
self should: ['1..-2-' asNumber = 1].
self should: ['1..2--' asNumber = 1].
self should: ['1..2--' asNumber = 1].
self should: ['1.-.-2' asNumber = 1].
self should: ['1.-.2-' asNumber = 1].
self should: ['1.--.2' asNumber = 1].
self should: ['1.--2.' asNumber = 1].
self should: ['1.-2-.' asNumber = 1].
self should: ['1.-2.-' asNumber = 1].
self should: ['1.2.--' asNumber = 1.2].
self should: ['1.2.--' asNumber = 1.2].
self should: ['1.2-.-' asNumber = 1.2].
self should: ['1.2--.' asNumber = 1.2].
self should: ['1.2--.' asNumber = 1.2].
self should: ['1.2-.-' asNumber = 1.2].
self should: ['1..--2' asNumber = 1].
self should: ['1..-2-' asNumber = 1].
self should: ['1..--2' asNumber = 1].
self should: ['1..-2-' asNumber = 1].
self should: ['1..2--' asNumber = 1].
self should: ['1..2--' asNumber = 1].
self should: ['1.-.-2' asNumber = 1].
self should: ['1.-.2-' asNumber = 1].
self should: ['1.--.2' asNumber = 1].
self should: ['1.--2.' asNumber = 1].
self should: ['1.-2-.' asNumber = 1].
self should: ['1.-2.-' asNumber = 1].
self should: ['1.--.2' asNumber = 1].
self should: ['1.--2.' asNumber = 1].
self should: ['1.-.-2' asNumber = 1].
self should: ['1.-.2-' asNumber = 1].
self should: ['1.-2.-' asNumber = 1].
self should: ['1.-2-.' asNumber = 1].
self should: ['1.2--.' asNumber = 1.2].
self should: ['1.2-.-' asNumber = 1.2].
self should: ['1.2--.' asNumber = 1.2].
self should: ['1.2-.-' asNumber = 1.2].
self should: ['1.2.--' asNumber = 1.2].
self should: ['1.2.--' asNumber = 1.2].
self should: ['1-..-2' asNumber = 1].
self should: ['1-..2-' asNumber = 1].
self should: ['1-.-.2' asNumber = 1].
self should: ['1-.-2.' asNumber = 1].
self should: ['1-.2-.' asNumber = 1].
self should: ['1-.2.-' asNumber = 1].
self should: ['1-..-2' asNumber = 1].
self should: ['1-..2-' asNumber = 1].
self should: ['1-.-.2' asNumber = 1].
self should: ['1-.-2.' asNumber = 1].
self should: ['1-.2-.' asNumber = 1].
self should: ['1-.2.-' asNumber = 1].
self should: ['1--..2' asNumber = 1].
self should: ['1--.2.' asNumber = 1].
self should: ['1--..2' asNumber = 1].
self should: ['1--.2.' asNumber = 1].
self should: ['1--2..' asNumber = 1].
self should: ['1--2..' asNumber = 1].
self should: ['1-2.-.' asNumber = 1].
self should: ['1-2..-' asNumber = 1].
self should: ['1-2-..' asNumber = 1].
self should: ['1-2-..' asNumber = 1].
self should: ['1-2.-.' asNumber = 1].
self should: ['1-2..-' asNumber = 1].
self should: ['12..--' asNumber = 12].
self should: ['12..--' asNumber = 12].
self should: ['12.-.-' asNumber = 12].
self should: ['12.--.' asNumber = 12].
self should: ['12.--.' asNumber = 12].
self should: ['12.-.-' asNumber = 12].
self should: ['12..--' asNumber = 12].
self should: ['12..--' asNumber = 12].
self should: ['12.-.-' asNumber = 12].
self should: ['12.--.' asNumber = 12].
self should: ['12.--.' asNumber = 12].
self should: ['12.-.-' asNumber = 12].
self should: ['12-..-' asNumber = 12].
self should: ['12-.-.' asNumber = 12].
self should: ['12-..-' asNumber = 12].
self should: ['12-.-.' asNumber = 12].
self should: ['12--..' asNumber = 12].
self should: ['12--..' asNumber = 12].
self should: ['12-.-.' asNumber = 12].
self should: ['12-..-' asNumber = 12].
self should: ['12--..' asNumber = 12].
self should: ['12--..' asNumber = 12].
self should: ['12-.-.' asNumber = 12].
self should: ['12-..-' asNumber = 12].
self should: ['2-..1-' asNumber = 2].
self should: ['2-..-1' asNumber = 2].
self should: ['2-.1.-' asNumber = 2].
self should: ['2-.1-.' asNumber = 2].
self should: ['2-.-1.' asNumber = 2].
self should: ['2-.-.1' asNumber = 2].
self should: ['2-..1-' asNumber = 2].
self should: ['2-..-1' asNumber = 2].
self should: ['2-.1.-' asNumber = 2].
self should: ['2-.1-.' asNumber = 2].
self should: ['2-.-1.' asNumber = 2].
self should: ['2-.-.1' asNumber = 2].
self should: ['2-1..-' asNumber = 2].
self should: ['2-1.-.' asNumber = 2].
self should: ['2-1..-' asNumber = 2].
self should: ['2-1.-.' asNumber = 2].
self should: ['2-1-..' asNumber = 2].
self should: ['2-1-..' asNumber = 2].
self should: ['2--.1.' asNumber = 2].
self should: ['2--..1' asNumber = 2].
self should: ['2--1..' asNumber = 2].
self should: ['2--1..' asNumber = 2].
self should: ['2--.1.' asNumber = 2].
self should: ['2--..1' asNumber = 2].
self should: ['2.-.1-' asNumber = 2].
self should: ['2.-.-1' asNumber = 2].
self should: ['2.-1.-' asNumber = 2].
self should: ['2.-1-.' asNumber = 2].
self should: ['2.--1.' asNumber = 2].
self should: ['2.--.1' asNumber = 2].
self should: ['2..-1-' asNumber = 2].
self should: ['2..--1' asNumber = 2].
self should: ['2..1--' asNumber = 2].
self should: ['2..1--' asNumber = 2].
self should: ['2..-1-' asNumber = 2].
self should: ['2..--1' asNumber = 2].
self should: ['2.1.--' asNumber = 2.1].
self should: ['2.1.--' asNumber = 2.1].
self should: ['2.1-.-' asNumber = 2.1].
self should: ['2.1--.' asNumber = 2.1].
self should: ['2.1--.' asNumber = 2.1].
self should: ['2.1-.-' asNumber = 2.1].
self should: ['2.-.1-' asNumber = 2].
self should: ['2.-.-1' asNumber = 2].
self should: ['2.-1.-' asNumber = 2].
self should: ['2.-1-.' asNumber = 2].
self should: ['2.--1.' asNumber = 2].
self should: ['2.--.1' asNumber = 2].
self should: ['2..-1-' asNumber = 2].
self should: ['2..--1' asNumber = 2].
self should: ['2..1--' asNumber = 2].
self should: ['2..1--' asNumber = 2].
self should: ['2..-1-' asNumber = 2].
self should: ['2..--1' asNumber = 2].
self should: ['2.-.1-' asNumber = 2].
self should: ['2.-.-1' asNumber = 2].
self should: ['2.-1.-' asNumber = 2].
self should: ['2.-1-.' asNumber = 2].
self should: ['2.--1.' asNumber = 2].
self should: ['2.--.1' asNumber = 2].
self should: ['2.1-.-' asNumber = 2.1].
self should: ['2.1--.' asNumber = 2.1].
self should: ['2.1.--' asNumber = 2.1].
self should: ['2.1.--' asNumber = 2.1].
self should: ['2.1-.-' asNumber = 2.1].
self should: ['2.1--.' asNumber = 2.1].
self should: ['2.--1.' asNumber = 2].
self should: ['2.--.1' asNumber = 2].
self should: ['2.-1-.' asNumber = 2].
self should: ['2.-1.-' asNumber = 2].
self should: ['2.-.1-' asNumber = 2].
self should: ['2.-.-1' asNumber = 2].
self should: ['21..--' asNumber = 21].
self should: ['21..--' asNumber = 21].
self should: ['21.-.-' asNumber = 21].
self should: ['21.--.' asNumber = 21].
self should: ['21.--.' asNumber = 21].
self should: ['21.-.-' asNumber = 21].
self should: ['21..--' asNumber = 21].
self should: ['21..--' asNumber = 21].
self should: ['21.-.-' asNumber = 21].
self should: ['21.--.' asNumber = 21].
self should: ['21.--.' asNumber = 21].
self should: ['21.-.-' asNumber = 21].
self should: ['21-..-' asNumber = 21].
self should: ['21-.-.' asNumber = 21].
self should: ['21-..-' asNumber = 21].
self should: ['21-.-.' asNumber = 21].
self should: ['21--..' asNumber = 21].
self should: ['21--..' asNumber = 21].
self should: ['21-.-.' asNumber = 21].
self should: ['21-..-' asNumber = 21].
self should: ['21--..' asNumber = 21].
self should: ['21--..' asNumber = 21].
self should: ['21-.-.' asNumber = 21].
self should: ['21-..-' asNumber = 21].
self should: ['2-..1-' asNumber = 2].
self should: ['2-..-1' asNumber = 2].
self should: ['2-.1.-' asNumber = 2].
self should: ['2-.1-.' asNumber = 2].
self should: ['2-.-1.' asNumber = 2].
self should: ['2-.-.1' asNumber = 2].
self should: ['2-..1-' asNumber = 2].
self should: ['2-..-1' asNumber = 2].
self should: ['2-.1.-' asNumber = 2].
self should: ['2-.1-.' asNumber = 2].
self should: ['2-.-1.' asNumber = 2].
self should: ['2-.-.1' asNumber = 2].
self should: ['2-1..-' asNumber = 2].
self should: ['2-1.-.' asNumber = 2].
self should: ['2-1..-' asNumber = 2].
self should: ['2-1.-.' asNumber = 2].
self should: ['2-1-..' asNumber = 2].
self should: ['2-1-..' asNumber = 2].
self should: ['2--.1.' asNumber = 2].
self should: ['2--..1' asNumber = 2].
self should: ['2--1..' asNumber = 2].
self should: ['2--1..' asNumber = 2].
self should: ['2--.1.' asNumber = 2].
self should: ['2--..1' asNumber = 2].

On 2009-09-24, at 2:47 PM, John M McIntosh wrote:

> Well yes I was *thinking* of using curl and asking wolfram alpha...

--
=
=
=
========================================================================
John M. McIntosh <[hidden email]>   Twitter:  
squeaker68882
Corporate Smalltalk Consulting Ltd.  http://www.smalltalkconsulting.com
=
=
=
========================================================================





_______________________________________________
Pharo-project mailing list
[hidden email]
http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project