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 @@ -635,31 +635,6 @@ public IObjectRef OpCircumflex(RuntimeBase vm, Numeric right)
635635 return rev ;
636636 }
637637
638- public override string ToString ( )
639- {
640- return ToString ( 0 ) ;
641- }
642-
643- public static string CreateKey ( string num )
644- {
645- return "num:" + num ;
646- }
647-
648- public static string CreateKey ( long num )
649- {
650- return CreateKey ( num . ToString ( ) ) ;
651- }
652-
653- public static string CreateKey ( float num )
654- {
655- return CreateKey ( num . ToString ( CultureInfo . InvariantCulture ) ) ;
656- }
657-
658- public static string CreateKey ( double num )
659- {
660- return CreateKey ( num . ToString ( CultureInfo . InvariantCulture ) ) ;
661- }
662-
663638 public IObjectRef Sqrt ( RuntimeBase vm )
664639 {
665640 switch ( Mode )
@@ -731,6 +706,31 @@ public IObjectRef Tan(RuntimeBase vm)
731706 throw new ArgumentOutOfRangeException ( ) ;
732707 }
733708 }
709+
710+ public override string ToString ( )
711+ {
712+ return ToString ( 0 ) ;
713+ }
714+
715+ public static string CreateKey ( string num )
716+ {
717+ return "num:" + num ;
718+ }
719+
720+ public static string CreateKey ( long num )
721+ {
722+ return CreateKey ( num . ToString ( ) ) ;
723+ }
724+
725+ public static string CreateKey ( float num )
726+ {
727+ return CreateKey ( num . ToString ( CultureInfo . InvariantCulture ) ) ;
728+ }
729+
730+ public static string CreateKey ( double num )
731+ {
732+ return CreateKey ( num . ToString ( CultureInfo . InvariantCulture ) ) ;
733+ }
734734}
735735
736736public sealed class IntN : IObject
You can’t perform that action at this time.
0 commit comments