@@ -222,7 +222,7 @@ def TypedBinaryFunctions():
222222// Note these do not have a corresponding LLVM intrinsic
223223% for T, CT, f, ufunc in TypedUnaryFunctions( ) :
224224% if T == 'Float80 ':
225- #if (arch(i386) || arch(x86_64)) && !(os(Windows) || os(Android))
225+ #if (arch(i386) || arch(x86_64)) && !(os(Windows) || os(Android) || ($Embedded && !os(Linux) && !(os(macOS) || os(iOS) || os(watchOS) || os(tvOS))) )
226226% end
227227@_transparent
228228public func ${ ufunc} ( _ x: ${ T} ) - > ${ T} {
@@ -239,7 +239,7 @@ public func ${ufunc}(_ x: ${T}) -> ${T} {
239239// Note these have a corresponding LLVM intrinsic
240240% for T, ufunc in TypedUnaryIntrinsicFunctions( ) :
241241% if T == 'Float80 ':
242- #if (arch(i386) || arch(x86_64)) && !(os(Windows) || os(Android))
242+ #if (arch(i386) || arch(x86_64)) && !(os(Windows) || os(Android) || ($Embedded && !os(Linux) && !(os(macOS) || os(iOS) || os(watchOS) || os(tvOS))) )
243243% end
244244@_transparent
245245public func ${ ufunc} ( _ x: ${ T} ) - > ${ T} {
@@ -258,7 +258,7 @@ public func ${ufunc}(_ x: ${T}) -> ${T} {
258258% for ufunc in UnaryIntrinsicFunctions:
259259% for T, CT, f in OverlayFloatTypes( ) :
260260% if T == 'Float80 ':
261- #if (arch(i386) || arch(x86_64)) && !(os(Windows) || os(Android))
261+ #if (arch(i386) || arch(x86_64)) && !(os(Windows) || os(Android) || ($Embedded && !os(Linux) && !(os(macOS) || os(iOS) || os(watchOS) || os(tvOS))) )
262262% end
263263@_transparent
264264public func ${ ufunc} ( _ x: ${ T} ) - > ${ T} {
@@ -275,7 +275,7 @@ public func ${ufunc}(_ x: ${T}) -> ${T} {
275275
276276% for T, CT, f, bfunc in TypedBinaryFunctions( ) :
277277% if T == 'Float80 ':
278- #if (arch(i386) || arch(x86_64)) && !(os(Windows) || os(Android))
278+ #if (arch(i386) || arch(x86_64)) && !(os(Windows) || os(Android) || ($Embedded && !os(Linux) && !(os(macOS) || os(iOS) || os(watchOS) || os(tvOS))) )
279279% end
280280@_transparent
281281public func ${ bfunc} ( _ lhs: ${ T} , _ rhs: ${ T} ) - > ${ T} {
@@ -290,7 +290,7 @@ public func ${bfunc}(_ lhs: ${T}, _ rhs: ${T}) -> ${T} {
290290% # This is AllFloatTypes not OverlayFloatTypes because of the tuple return .
291291% for T, CT, f in AllFloatTypes( ) :
292292% if T == 'Float80 ':
293- #if (arch(i386) || arch(x86_64)) && !(os(Windows) || os(Android) || os(OpenBSD))
293+ #if (arch(i386) || arch(x86_64)) && !(os(Windows) || os(Android) || os(OpenBSD) || ($Embedded && !os(Linux) && !(os(macOS) || os(iOS) || os(watchOS) || os(tvOS))) )
294294% else:
295295// lgamma not available on Windows, apparently?
296296#if !os(Windows)
@@ -308,7 +308,7 @@ public func lgamma(_ x: ${T}) -> (${T}, Int) {
308308% # This is AllFloatTypes not OverlayFloatTypes because of the tuple return .
309309% for T, CT, f in AllFloatTypes( ) :
310310% if T == 'Float80 ':
311- #if (arch(i386) || arch(x86_64)) && !(os(Windows) || os(Android))
311+ #if (arch(i386) || arch(x86_64)) && !(os(Windows) || os(Android) || ($Embedded && !os(Linux) && !(os(macOS) || os(iOS) || os(watchOS) || os(tvOS))) )
312312% end
313313@_transparent
314314public func remquo( _ x: ${ T} , _ y: ${ T} ) - > ( ${ T} , Int) {
@@ -324,7 +324,7 @@ public func remquo(_ x: ${T}, _ y: ${T}) -> (${T}, Int) {
324324
325325% for T, CT, f in OverlayFloatTypes( ) :
326326% if T == 'Float80 ':
327- #if (arch(i386) || arch(x86_64)) && !(os(Windows) || os(Android))
327+ #if (arch(i386) || arch(x86_64)) && !(os(Windows) || os(Android) || ($Embedded && !os(Linux) && !(os(macOS) || os(iOS) || os(watchOS) || os(tvOS))) )
328328% end
329329@available ( swift, deprecated: 4.2 /*, obsoleted: 5.1*/, message:
330330 " use ${T}(nan: ${T}.RawSignificand). " )
0 commit comments