File tree Expand file tree Collapse file tree 1 file changed +25
-25
lines changed Expand file tree Collapse file tree 1 file changed +25
-25
lines changed Original file line number Diff line number Diff line change @@ -639,31 +639,6 @@ public IObjectRef OpCircumflex(RuntimeBase vm, Numeric right)
639639 return rev ;
640640 }
641641
642- public override string ToString ( )
643- {
644- return ToString ( 0 ) ;
645- }
646-
647- public static string CreateKey ( string num )
648- {
649- return "num:" + num ;
650- }
651-
652- public static string CreateKey ( long num )
653- {
654- return CreateKey ( num . ToString ( ) ) ;
655- }
656-
657- public static string CreateKey ( float num )
658- {
659- return CreateKey ( num . ToString ( CultureInfo . InvariantCulture ) ) ;
660- }
661-
662- public static string CreateKey ( double num )
663- {
664- return CreateKey ( num . ToString ( CultureInfo . InvariantCulture ) ) ;
665- }
666-
667642 public IObjectRef Sqrt ( RuntimeBase vm )
668643 {
669644 switch ( Mode )
@@ -735,6 +710,31 @@ public IObjectRef Tan(RuntimeBase vm)
735710 throw new ArgumentOutOfRangeException ( ) ;
736711 }
737712 }
713+
714+ public override string ToString ( )
715+ {
716+ return ToString ( 0 ) ;
717+ }
718+
719+ public static string CreateKey ( string num )
720+ {
721+ return "num:" + num ;
722+ }
723+
724+ public static string CreateKey ( long num )
725+ {
726+ return CreateKey ( num . ToString ( ) ) ;
727+ }
728+
729+ public static string CreateKey ( float num )
730+ {
731+ return CreateKey ( num . ToString ( CultureInfo . InvariantCulture ) ) ;
732+ }
733+
734+ public static string CreateKey ( double num )
735+ {
736+ return CreateKey ( num . ToString ( CultureInfo . InvariantCulture ) ) ;
737+ }
738738}
739739
740740public sealed class IntN : IObject
You can’t perform that action at this time.
0 commit comments