mirror of
https://github.com/apple/swift.git
synced 2025-12-21 12:14:44 +01:00
Fix fmod() covers. Add CGFloat to the math.h tests.
<rdar://problem/17275152> Can't call C fmodf() from stdlib Swift SVN r19777
This commit is contained in:
@@ -479,7 +479,10 @@ func pow(lhs: CGFloat, rhs: CGFloat) -> CGFloat {
|
||||
return CGFloat(pow(lhs.native, rhs.native))
|
||||
}
|
||||
|
||||
// FIXME: fmod
|
||||
@transparent public
|
||||
func fmod(lhs: CGFloat, rhs: CGFloat) -> CGFloat {
|
||||
return CGFloat(fmod(lhs.native, rhs.native))
|
||||
}
|
||||
|
||||
@transparent public
|
||||
func remainder(lhs: CGFloat, rhs: CGFloat) -> CGFloat {
|
||||
|
||||
Reference in New Issue
Block a user