Nate Cook
beeb816520
[stdlib] Manually propagate floating point documentation
2017-07-31 10:56:54 -05:00
Nate Cook
781f6326bd
[stdlib] Various documentation revisions and fixes
...
- Revisions to unsafeDowncast and withVaList
- Fix the Int64/UInt64 discussion
- Buffer pointer revisions
- Fix Optional example to use new integer methods
- Revise and correct some UnsafeRawBufferPointer docs
- Fix symmetricDifference examples
- Fix wording in FloatingPoint.nextDown
- Update ImplicitlyUnwrappedOptional
- Clarify elementsEqual
- Minor integer doc fixes
- Comment for _AppendKeyPath
- Clarification re collection indices
- Revise RangeExpression.relative(to:)
- Codable revisions
2017-07-31 10:56:53 -05:00
Robert Widmann
0cf1b52452
Treat Cygwin as a separate OS
...
Cygwin is considered a distinct target with a distinct ABI, environment
conditions, and data types. Though the goal of the project is
native Windows integration with UNIX-likes, that is not compatible with
the idea that the platform can be ignored as Win-like enough to have the
existing os(Windows) condition apply.
2017-06-28 13:31:05 -07:00
Nate Cook
b7af9bfe83
[stdlib] Remove SeeAlso tags
2017-06-13 11:23:51 -05:00
Nate Cook
ca5c65f93c
[stdlib] Nest some additional operators ( #9646 )
2017-05-17 19:44:08 -07:00
Nate Cook
7fa74f590d
[stdlib] Documentation revisions for string + ranges
...
* removing .characters from examples
* beginning new String doc revisions
* improvements to the String Foundation overlay docs
* minor revisions elsewhere
2017-05-13 10:06:05 -05:00
Nate Cook
7ec9e95b49
[stdlib] Documentation revisions for numeric types
...
* abstracts for integer types
* fixed discussions for floating-point operators
2017-05-13 10:06:00 -05:00
Dave Abrahams
d3ad565b33
[stdlib] Clean up warnings
2017-04-20 14:08:57 -07:00
Max Moiseev
192c11217f
Adding arithmetic methods to FloatingPoint for Swift 3 mode
2017-04-17 10:43:40 -07:00
Max Moiseev
9b53efd72c
Merge branch 'master' into new-integer-protocols
2017-04-17 09:53:44 -07:00
Nate Cook
909c4c8714
[stdlib] Fix Collection discussion typo
2017-04-12 00:14:53 -05:00
Max Moiseev
b9fb3badc8
Merge remote-tracking branch 'origin/master' into new-integer-protocols
2017-03-22 12:30:24 -07:00
Doug Gregor
13c4ae0168
[Standard library] Eliminate redundant conformance constraints.
...
Eliminate all of the redundant conformance constraints in the standard
library that were identified by the newly-introduced warning for
redundant, explicitly-specified conformances.
2017-03-17 20:15:09 -10:00
Max Moiseev
7d73b2e1ca
Arithmetic => Numeric
2017-03-13 11:50:02 -07:00
Max Moiseev
835b8809d2
Merge branch 'master' into new-integer-protocols
2017-03-07 16:18:54 -08:00
Stephen Canon
0130407e21
Make FloatingPoint imply Hashable. SR-4132.
2017-03-01 20:39:11 -05:00
Max Moiseev
d128ed42b0
Merge remote-tracking branch 'origin/master' into new-integer-protocols
2017-01-19 14:16:32 -08:00
Han Sangjin
a8dec7fa43
[stdlib] Fixed for Cygwin
...
- CYGWIN symbol is used to distinguish Cygwin environment from other OS
and other environment in Windows.
- Added windows and windowsCygnus to OSVersion in StdlibUnittest
2017-01-17 02:31:16 +09:00
Max Moiseev
27889c6376
Merge remote-tracking branch 'origin/master' into new-integer-protocols
2017-01-06 15:54:44 -08:00
practicalswift
6d1ae2a39c
[gardening] 2016 → 2017
2017-01-06 16:41:22 +01:00
Nate Cook
3bc4909de8
[stdlib] Various revisions and fixes for documentation
...
- Fix wording for RandomAccessCollection
- Add note about array growth to reserveCapacity(_:)
- Reformat lazy flatMap discussions
- Improve Collection symbol consistency
2016-12-15 11:47:19 -06:00
Max Moiseev
70b2343626
Merge branch 'master' into new-integer-protocols
2016-11-28 15:25:01 -08:00
practicalswift
797b80765f
[gardening] Use the correct base URL ( https://swift.org ) in references to the Swift website
...
Remove all references to the old non-TLS enabled base URL (http://swift.org )
2016-11-20 17:36:03 +01:00
Max Moiseev
953d919a22
Merge branch 'master' into new-integer-protocols
2016-11-16 14:46:31 -08:00
Max Moiseev
92813be403
Merge branch 'master' into new-integer-protocols
2016-11-11 16:14:57 -08:00
Nate Cook
bd6025f463
[stdlib] Various documentation fixes
...
- Fix incorrect type in Float(_:String) examples
- Expand discussions for ExpressibleBy_Literal protocols
- Add notes about non-escaping unsafe pointers from closures
- Add note about isEmpty to Collection.count discussions
- Describe imported `Bool` types
- Clean up some floating point discussions
- Provide some additional operator documentation
- Revise documentation for CVarArg functions
- Fix incorrect Set method parameter descriptions
- Clarify array bridging behavior
- Add collection subscript complexity notes
2016-11-11 11:23:49 -06:00
Maxim Moiseev
70cf3633b5
Fixing the FloatingPoint.subtracting doc comment ( #5581 )
2016-11-01 20:13:08 -05:00
Max Moiseev
8fdb6f007b
Uncommenting arithmetic operators in the FloatingPoint protocol
2016-11-01 14:42:54 -07:00
Max Moiseev
11132bde95
SeeAlso updated for the negate() function
2016-11-01 14:05:48 -07:00
Max Moiseev
9cd1d27ea1
Turning SignedArithmetic.negated() into a static prefix func -
2016-10-31 16:18:44 -07:00
Max Moiseev
76e0a99a37
Merge branch 'master' into new-integer-protocols
2016-10-31 09:29:19 -07:00
practicalswift
cc852042c9
[gardening] Fix accidental trailing whitespace.
2016-10-29 10:22:58 +02:00
Max Moiseev
d2851584fc
Operators from free functions to static methods
2016-10-24 11:40:37 -07:00
Max Moiseev
5cc2c8cb5a
Operators as static funcs for Arithmetic (see SE-0091)
2016-10-10 14:04:11 -07:00
Max Moiseev
17b3e38497
Merge branch 'master' into new-integer-protocols
2016-09-30 15:14:55 -07:00
Steve (Numerics) Canon
40628dd043
Fix for documentation of the [form]TruncatingRemainder methods.
...
The result of these methods was incorrectly documented as having
the same sign as `other` (the divisor) rather than `self` (the
dividend). This patch corrects the documentation, and also fixes
the capitalization of `formTruncatingRemainder` in one location.
2016-09-28 12:20:23 -04:00
Max Moiseev
6803cda05c
Merge branch 'master' into new-integer-protocols
2016-09-26 11:39:46 -07:00
Max Moiseev
a779f3059d
[stdlib] availability attributes for floating point types
2016-09-23 16:42:17 -07:00
Max Moiseev
ea8e0f0e15
Merge remote-tracking branch 'origin/master' into new-integer-protocols
2016-09-21 14:48:35 -07:00
practicalswift
b19481f887
[gardening] Fix 67 recently introduced typos
2016-09-16 11:16:07 +02:00
Nate Cook
29c9c61f03
[stdlib] Revise and expand floating-point documentation
2016-07-31 10:14:06 -05:00
Maxim Moiseev
d42743f985
removing IntegerArithmetic.swift
2016-07-29 13:31:21 +03:00
Maxim Moiseev
2df96d043c
removing commented out default implementation
2016-07-29 13:31:21 +03:00
Maxim Moiseev
1dd6c2d3d4
Addressing some of the FIXMEs
2016-07-29 13:31:21 +03:00
Maxim Moiseev
e2e032bc20
core and overlays build
2016-07-29 13:31:21 +03:00
Max Moiseev
1867ca4a0f
WIP eliminating compilation errors one by one...
2016-07-29 13:31:21 +03:00
Dmitri Gribenko
e4e9cf5cac
Merge pull request #3683 from stephentyrone/totally-ordered-label
...
Bugfix: argument label of isTotallyOrdered.
2016-07-24 00:05:25 -07:00
Patrick Pijnappel
2728bd0145
[stdlib] Standardize function signature spacing
2016-07-23 11:51:32 +10:00
Steve (Numerics) Canon
11baa7a14f
Possible fix for label of isTotallyOrdered(below:).
2016-07-22 15:21:21 -04:00
Stephen Canon
cc024d0710
Generic implementations of math functions implementable on FloatingPoint. ( #3524 )
...
Replace the non-generic tgmath functions with generic <T: FloatingPoint> implementations where possible, and move the global sqrt() operation into tgmath.
2016-07-15 08:19:08 -04:00