mirror of
https://github.com/ziglang/zig.git
synced 2026-11-22 04:37:39 -05:00
compiler-rt: gedf2 and gesf2
This commit is contained in:
1 parent
e798a3a779
commit
bcf3a7d600
2 files changed
+2
-2
No files matched your search
@@ -28,7 +28,7 @@ pub fn __gtdf2(a: f64, b: f64) callconv(.C) i32 {
|
||||
}
|
||||
|
||||
fn __aeabi_dcmpge(a: f64, b: f64) callconv(.AAPCS) i32 {
|
||||
return comparef.cmpf2(f64, comparef.GE, a, b) != .Less;
|
||||
return @boolToInt(comparef.cmpf2(f64, comparef.GE, a, b) != .Less);
|
||||
}
|
||||
|
||||
fn __aeabi_dcmpgt(a: f64, b: f64) callconv(.AAPCS) i32 {
|
||||
|
||||
@@ -28,7 +28,7 @@ pub fn __gtsf2(a: f32, b: f32) callconv(.C) i32 {
|
||||
}
|
||||
|
||||
fn __aeabi_fcmpge(a: f32, b: f32) callconv(.AAPCS) i32 {
|
||||
return comparef.cmpf2(f32, comparef.GE, a, b) != .Less;
|
||||
return @boolToInt(comparef.cmpf2(f32, comparef.GE, a, b) != .Less);
|
||||
}
|
||||
|
||||
fn __aeabi_fcmpgt(a: f32, b: f32) callconv(.AAPCS) i32 {
|
||||
|
||||
Reference in new issue
Block a user