Inheritance: numeral
Example #1
0
 // Conversions
 public static double REAL_TO_DOUBLE( real  n )
 {
     return n.value;
 }
Example #2
0
 public static float REAL_TO_FLOAT( real  n )
 {
     return (float)n.value;
 }
Example #3
0
 public static Object display_flonum( real n, output_port p )
 {
     p.write( n.value.ToString() );
     return p;
 }