[bug] 0 raisedTo: 0 homogeneity

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

[bug] 0 raisedTo: 0 homogeneity

Nicolas Cellier-3
Issue status update for
http://smalltalk.gnu.org/node/310
Post a follow up:
http://smalltalk.gnu.org/project/comments/add/310

 Project:      GNU Smalltalk
 Version:      <none>
 Component:    Base classes
 Category:     bug reports
 Priority:     normal
 Assigned to:  Unassigned
 Reported by:  nice
 Updated by:   nice
 Status:       active

0 raisedTo: 0. -> 1
0.0e0 raisedTo: 0. -> Exception
0.0d0 raisedTo: 0. -> Exception
0.0q0 raisedTo: 0. -> 1.0

We can eventually admit a difference between exact and inexact (though
i think inexact should rather answer 1, and exact raise an Exception).

But, inexact representations should better agree on a common behavior.




_______________________________________________
help-smalltalk mailing list
[hidden email]
http://lists.gnu.org/mailman/listinfo/help-smalltalk
Reply | Threaded
Open this post in threaded view
|

Re: [bug] 0 raisedTo: 0 homogeneity

Paolo Bonzini-3
Issue status update for
http://smalltalk.gnu.org/project/issue/310
Post a follow up:
http://smalltalk.gnu.org/project/comments/add/310

 Project:      GNU Smalltalk
 Version:      <none>
 Component:    Base classes
 Category:     bug reports
 Priority:     normal
-Assigned to:  Unassigned
+Assigned to:  bonzinip
 Reported by:  nice
 Updated by:   bonzinip
 Status:       active

Agreed 100%.

Actually I have to dig up why FloatQ implements #raisedTo: rather than
using the superclass.  Seems wrong.




_______________________________________________
help-smalltalk mailing list
[hidden email]
http://lists.gnu.org/mailman/listinfo/help-smalltalk
Reply | Threaded
Open this post in threaded view
|

Re: [bug] 0 raisedTo: 0 homogeneity

Paolo Bonzini-3
In reply to this post by Nicolas Cellier-3
Issue status update for
http://smalltalk.gnu.org/project/issue/310
Post a follow up:
http://smalltalk.gnu.org/project/comments/add/310

 Project:      GNU Smalltalk
 Version:      <none>
 Component:    Base classes
 Category:     bug reports
 Priority:     normal
 Assigned to:  bonzinip
 Reported by:  nice
 Updated by:   bonzinip
-Status:       active
+Status:       fixed

fixed




_______________________________________________
help-smalltalk mailing list
[hidden email]
http://lists.gnu.org/mailman/listinfo/help-smalltalk