[stdlib] Propagate LiteralConvertible docs

219 undocumented public APIs remain in core

Swift SVN r22213
This commit is contained in:
Dave Abrahams
2014-09-23 11:12:39 +00:00
parent f8f703083f
commit 7c9ebaa19f
14 changed files with 40 additions and 16 deletions

View File

@@ -294,6 +294,7 @@ extension ${Self} : _BuiltinIntegerLiteralConvertible, IntegerLiteralConvertible
self = ${Self}(Builtin.itofp_with_overflow_Int${builtinIntLiteralBits}_FPIEEE${bits}(value))
}
/// Create an instance initialized to `value`.
public init(integerLiteral value: Int64) {
self = ${Self}(Builtin.uitofp_Int64_FPIEEE${bits}(value.value))
}
@@ -339,6 +340,7 @@ extension ${Self} : _BuiltinFloatLiteralConvertible {
@transparent
extension ${Self} : FloatLiteralConvertible {
/// Create an instance initialized to `value`.
public init(floatLiteral value: ${Self}) {
self = value
}