mirror of
https://github.com/roc-lang/roc.git
synced 2025-09-27 22:09:09 +00:00
Resolve conflicts
This commit is contained in:
commit
f2983f1360
19 changed files with 358 additions and 220 deletions
|
@ -1,19 +1,21 @@
|
|||
const std = @import("std");
|
||||
const math = std.math;
|
||||
const expect = std.testing.expect;
|
||||
const print = std.debug.print;
|
||||
|
||||
export fn is_finite_(f: f64) bool {
|
||||
return std.math.isFinite(f);
|
||||
export fn atan_(num: f64) f64 {
|
||||
return math.atan(num);
|
||||
}
|
||||
|
||||
export fn atan_(f: f64) f64 {
|
||||
return std.math.atan(f);
|
||||
export fn is_finite_(num: f64) bool {
|
||||
return math.isFinite(num);
|
||||
}
|
||||
|
||||
export fn pow_int_(base: i64, exp: i64) i64 {
|
||||
return std.math.pow(i64, base, exp);
|
||||
return math.pow(i64, base, exp);
|
||||
}
|
||||
|
||||
// Str.split
|
||||
|
||||
const RocStr = struct {
|
||||
str_bytes: [*]u8,
|
||||
str_len: usize,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue