Issue 5450 in pharo: Number does not implement #asFloat

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

Issue 5450 in pharo: Number does not implement #asFloat

pharo
Status: Accepted
Owner: ----
Labels: Milestone-1.4 Type-Feature

New issue 5450 by [hidden email]: Number does not implement #asFloat
http://code.google.com/p/pharo/issues/detail?id=5450

Minor enhancement/refactoring: Number does not implement #asFloat while it  
should.

When using #asFloat in a method at the level of Number, Code Critics  
rightfully remark that #asFloat is an unimplemented method at that level.

Slice coming.


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

Re: Issue 5450 in pharo: Number does not implement #asFloat

pharo
Updates:
        Status: FixToInclude

Comment #1 on issue 5450 by [hidden email]: Number does not  
implement #asFloat
http://code.google.com/p/pharo/issues/detail?id=5450

Name:  
SLICE-Issue-5450-Number-does-not-implement-asFloat-SvenVanCaekenberghe.1
Author: SvenVanCaekenberghe
Time: 8 March 2012, 9:08:22 am
UUID: 55d88a58-03c7-4aa9-9246-9145326f4157
Ancestors:
Dependencies: Kernel-SvenVanCaekenberghe.1032

add Number>>#asFloat with #subclassResponsibility;
remove Number>>#asFloat[D|E|Q] as they where not used


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

Re: Issue 5450 in pharo: Number does not implement #asFloat

pharo
Updates:
        Status: Integrated

Comment #2 on issue 5450 by [hidden email]: Number does not  
implement #asFloat
http://code.google.com/p/pharo/issues/detail?id=5450

in 14384... but the integrator did not close it?


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

Re: Issue 5450 in pharo: Number does not implement #asFloat

pharo

Comment #3 on issue 5450 by [hidden email]: Number does not  
implement #asFloat
http://code.google.com/p/pharo/issues/detail?id=5450

Err... Why removing?

asFloatD asFloatE and asFloatQ are ANSI.
If you have a cross-dialect application, that's the only conversions you  
can rely on...


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

Re: Issue 5450 in pharo: Number does not implement #asFloat

pharo

Comment #4 on issue 5450 by [hidden email]: Number does not  
implement #asFloat
http://code.google.com/p/pharo/issues/detail?id=5450

They were not used anywhere.

I looked in VW and Cuis, none have them.

Which cross-dialects implement this ? (Squeak is not really another  
dialect).



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