13 lines
195 B
Plaintext
13 lines
195 B
Plaintext
|
|
package foo:floats;
|
||
|
|
|
||
|
|
interface floats {
|
||
|
|
f32-param: func(x: f32);
|
||
|
|
f64-param: func(x: f64);
|
||
|
|
f32-result: func() -> f32;
|
||
|
|
f64-result: func() -> f64;
|
||
|
|
}
|
||
|
|
|
||
|
|
world floats-world {
|
||
|
|
import floats;
|
||
|
|
}
|