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