Commit Graph

13 Commits

Author SHA1 Message Date
Anna Zaks
b8c4019c2a Make Int's init() 128-bit-Int-proof.
Following Jordan suggestion to r8446, replace the current version of Int's
init() to make it 128 bit-proof.

Swift SVN r8531
2013-09-20 23:24:28 +00:00
Anna Zaks
818cd1a1cc Add transparent constructors to integer types.
This time by modifying the FixedPoint.gyb and auto-generating FixedPoint.swift.

(Thanks Dmitry!)

Swift SVN r8448
2013-09-19 16:23:47 +00:00
Doug Gregor
7d774c55d6 Replace "constructor" with "init" in a number of Swift sources.
Swift SVN r8393
2013-09-18 04:37:12 +00:00
Greg Parker
5dd6b2a12c Reinstate workaround for rdar://14897572 (slow arm64 compilation)
Swift SVN r8318
2013-09-17 01:28:49 +00:00
Greg Parker
6a1df4bb3f Remove Int128 because it is unreliable or incomplete on some architectures.
Swift SVN r8249
2013-09-14 11:07:27 +00:00
Greg Parker
f627c439c9 Remove some Int128 assumptions from FixedPoint generator.
Swift SVN r8247
2013-09-14 07:07:35 +00:00
Dave Zarzycki
462fe42725 Adopt [transparent] more
Swift SVN r7980
2013-09-06 02:44:37 +00:00
Dave Abrahams
0d34c37048 [stdlib] FixedPoint.gyb/.swift: factor out more of the boilerplate repetition
Swift SVN r7805
2013-08-30 22:07:14 +00:00
Dave Zarzycki
d1e19306c0 Email feedback from DaveA
Swift SVN r7784
2013-08-30 17:07:05 +00:00
Dave Zarzycki
32c305949a '-=' is valid on both signed/unsigned types
Also, make the output easier to review output "tables" of operators.

Swift SVN r7780
2013-08-30 16:28:33 +00:00
Dave Zarzycki
2da92327c4 Adopt [transparent] in a bunch of places
Swift SVN r7779
2013-08-30 16:28:13 +00:00
Dave Abrahams
930f786725 [stdlib] Add regeneration instructions to FixedPoint.swift
Swift SVN r7761
2013-08-29 23:00:52 +00:00
Dave Abrahams
40d3f9e022 [stdlib] Add "gyb" templating engine; use it to generate FixedPoint.swift
Eventually gyb should be integrated with the build system, but for now
we are only using it to generate one Swift file.

Swift SVN r7759
2013-08-29 22:57:09 +00:00