   #endif
 }
 
+// MARK: Double + Real
 extension Double: Real {
   @_transparent public static func cos(_ x: Double) -> Double { return libm_cos(x) }
   @_transparent public static func sin(_ x: Double) -> Double { return libm_sin(x) }

// and the Swift platform module are both imported (<rdar://problem/53821031>).
import NumericsShims

extension Float: Real {
  @_transparent public static func cos(_ x: Float) -> Float { return libm_cosf(x) }
  @_transparent public static func sin(_ x: Float) -> Float { return libm_sinf(x) }

  #endif
}

// MARK: Float80 + Real
#if (arch(i386) || arch(x86_64)) && !os(Windows) && !os(Android)
extension Float80: Real {
  @_transparent public static func cos(_ x: Float80) -> Float80 { return libm_cosl(x) }
