Files
hakorune/examples/jit_math_function_style_cos_float.hako

11 lines
277 B
Plaintext
Raw Normal View History

// Function-style math: cos(x)
// Run:
// NYASH_JIT_EXEC=1 NYASH_JIT_THRESHOLD=1 NYASH_JIT_NATIVE_F64=1 NYASH_JIT_EVENTS=1 \
// ./target/release/hakorune --backend vm examples/jit_math_function_style_cos_float.hako
static box Main {
main() {
return cos(0.0)
}
}