| author | |
| committer | |
| log | bcf3a7d600ee409ec8e24fb1640fbda1d4e11660 |
| tree | 25461516f03d3d05cd44303366b5d8041a71aa2f |
| parent | e798a3a7796892427ac4561839a35286108bbf6c |
2 files changed, 2 insertions(+), 2 deletions(-)
lib/compiler_rt/gedf2.zig+1-1| ... | @@ -28,7 +28,7 @@ pub fn __gtdf2(a: f64, b: f64) callconv(.C) i32 { | ... | @@ -28,7 +28,7 @@ pub fn __gtdf2(a: f64, b: f64) callconv(.C) i32 { |
| 28 | } | 28 | } |
| 29 | 29 | ||
| 30 | fn __aeabi_dcmpge(a: f64, b: f64) callconv(.AAPCS) i32 { | 30 | fn __aeabi_dcmpge(a: f64, b: f64) callconv(.AAPCS) i32 { |
| 31 | return comparef.cmpf2(f64, comparef.GE, a, b) != .Less; | 31 | return @boolToInt(comparef.cmpf2(f64, comparef.GE, a, b) != .Less); |
| 32 | } | 32 | } |
| 33 | 33 | ||
| 34 | fn __aeabi_dcmpgt(a: f64, b: f64) callconv(.AAPCS) i32 { | 34 | fn __aeabi_dcmpgt(a: f64, b: f64) callconv(.AAPCS) i32 { |
lib/compiler_rt/gesf2.zig+1-1| ... | @@ -28,7 +28,7 @@ pub fn __gtsf2(a: f32, b: f32) callconv(.C) i32 { | ... | @@ -28,7 +28,7 @@ pub fn __gtsf2(a: f32, b: f32) callconv(.C) i32 { |
| 28 | } | 28 | } |
| 29 | 29 | ||
| 30 | fn __aeabi_fcmpge(a: f32, b: f32) callconv(.AAPCS) i32 { | 30 | fn __aeabi_fcmpge(a: f32, b: f32) callconv(.AAPCS) i32 { |
| 31 | return comparef.cmpf2(f32, comparef.GE, a, b) != .Less; | 31 | return @boolToInt(comparef.cmpf2(f32, comparef.GE, a, b) != .Less); |
| 32 | } | 32 | } |
| 33 | 33 | ||
| 34 | fn __aeabi_fcmpgt(a: f32, b: f32) callconv(.AAPCS) i32 { | 34 | fn __aeabi_fcmpgt(a: f32, b: f32) callconv(.AAPCS) i32 { |