pslang/examples/jit_test.psl

3 lines
71 B
PSL

func test() -> f32:
let pi : f16 = 3.141592h
return (pi * pi) as f32