Skip to content

Commit

Permalink
Merge pull request #31 from dagerydoo/prep-release-3.0.1
Browse files Browse the repository at this point in the history
Prep release 3.0.1
  • Loading branch information
dagerydoo authored Oct 10, 2017
2 parents 31d0f6f + 6e0dca7 commit e3879c5
Show file tree
Hide file tree
Showing 49 changed files with 9,628 additions and 6,092 deletions.
2 changes: 1 addition & 1 deletion BigInt.podspec
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@

Pod::Spec.new do |spec|
spec.name = 'BigInt'
spec.version = '3.0.0'
spec.version = '3.0.1'
spec.ios.deployment_target = "8.0"
spec.osx.deployment_target = "10.9"
spec.tvos.deployment_target = "9.0"
Expand Down
7 changes: 7 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,10 @@
# 3.0.1 (2017-10-10)

This release contains the following bug fixes:

- Issue #27 — changing scope of `BigUInt` methods `kind` and `storage` to be `fileprivate`
- Making `subscript` method of `BigUInt` public

# 3.0.0 (2017-09-07)

This is a major release upgrading BigInt to the new integer protocols introduced in Swift 4 as part of [SE-0104, Protocol-oriented integers][se-0104].
Expand Down
80 changes: 53 additions & 27 deletions docs/Extensions.html
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,9 @@
<script src="js/jquery.min.js" defer></script>
<script src="js/jazzy.js" defer></script>

<script src="js/lunr.min.js" defer></script>
<script src="js/typeahead.jquery.js" defer></script>
<script src="js/jazzy.search.js" defer></script>
</head>
<body>

Expand All @@ -19,18 +22,24 @@
<a class="header-link" href="index.html">
BigInt Docs
</a>
(100% documented)
(92% documented)
</p>

<p class="header-col--secondary">
<form role="search" action="search.json">
<input type="text" placeholder="Search documentation" data-typeahead>
</form>
</p>

<p class="header-col header-col--secondary">
<a class="header-link" href="https://github.com/lorentey/BigInt">
<a class="header-link" href="https://github.com/attaswift/BigInt">
<img class="header-icon" src="img/gh.png"/>
View on GitHub
</a>
</p>

<p class="header-col header-col--secondary">
<a class="header-link" href="dash-feed://https%3A%2F%2Florentey%2Egithub%2Eio%2FBigInt%2Freference%2Fdocsets%2FBigInt%2Exml">
<a class="header-link" href="dash-feed://https%3A%2F%2Fattaswift%2Egithub%2Eio%2FBigInt%2Freference%2Fdocsets%2FBigInt%2Exml">
<img class="header-icon" src="img/dash.png"/>
Install in Dash
</a>
Expand All @@ -49,38 +58,31 @@
<li class="nav-group-name">
<a class="nav-group-name-link" href="Extensions.html">Extensions</a>
<ul class="nav-group-tasks">
<li class="nav-group-task">
<a class="nav-group-task-link" href="Extensions/BinaryFloatingPoint.html">BinaryFloatingPoint</a>
</li>
<li class="nav-group-task">
<a class="nav-group-task-link" href="Extensions/String.html">String</a>
</li>
</ul>
</li>
<li class="nav-group-name">
<a class="nav-group-name-link" href="Functions.html">Functions</a>
<a class="nav-group-name-link" href="Structs.html">Structures</a>
<ul class="nav-group-tasks">
<li class="nav-group-task">
<a class="nav-group-task-link" href="Functions.html#/s:F6BigInt4sqrtFVS_7BigUIntS0_">sqrt(_:)</a>
<a class="nav-group-task-link" href="Structs/BigInt.html">BigInt</a>
</li>
</ul>
</li>
<li class="nav-group-name">
<a class="nav-group-name-link" href="Protocols.html">Protocols</a>
<ul class="nav-group-tasks">
<li class="nav-group-task">
<a class="nav-group-task-link" href="Protocols/ShiftOperations.html">ShiftOperations</a>
<a class="nav-group-task-link" href="Structs/BigInt/Sign.html">– Sign</a>
</li>
</ul>
</li>
<li class="nav-group-name">
<a class="nav-group-name-link" href="Structs.html">Structs</a>
<ul class="nav-group-tasks">
<li class="nav-group-task">
<a class="nav-group-task-link" href="Structs/BigInt.html">BigInt</a>
<a class="nav-group-task-link" href="Structs/BigInt/Words.html">– Words</a>
</li>
<li class="nav-group-task">
<a class="nav-group-task-link" href="Structs/BigUInt.html">BigUInt</a>
</li>
<li class="nav-group-task">
<a class="nav-group-task-link" href="Structs/DigitIterator.html">DigitIterator</a>
<a class="nav-group-task-link" href="Structs/BigUInt/Words.html">– Words</a>
</li>
</ul>
</li>
Expand All @@ -99,13 +101,37 @@ <h1>Extensions</h1>
<section class="section">
<div class="section-content">
<div class="task-group">
<div class="task-name-container">
<a name="/BigInt"></a>
<a name="//apple_ref/swift/Section/BigInt" class="dashAnchor"></a>
<a href="#/BigInt">
<h3 class="section-name">BigInt</h3>
</a>
</div>
<ul class="item-container">
<li class="item">
<div>
<code>
<a name="/s:s19BinaryFloatingPointP"></a>
<a name="//apple_ref/swift/Extension/BinaryFloatingPoint" class="dashAnchor"></a>
<a class="token" href="#/s:s19BinaryFloatingPointP">BinaryFloatingPoint</a>
</code>
</div>
<div class="height-container">
<div class="pointer-container"></div>
<section class="section">
<div class="pointer"></div>
<div class="abstract">

<a href="Extensions/BinaryFloatingPoint.html" class="slightly-smaller">See more</a>
</div>
<div class="declaration">
<h4>Declaration</h4>
<div class="language">
<p class="aside-title">Swift</p>
<pre class="highlight"><code><span class="kd">protocol</span> <span class="kt">BinaryFloatingPoint</span> <span class="p">:</span> <span class="kt">FloatingPoint</span><span class="p">,</span> <span class="kt">ExpressibleByFloatLiteral</span></code></pre>

</div>
</div>
</section>
</div>
</li>
</ul>
</div>
<div class="task-group">
<ul class="item-container">
<li class="item">
<div>
Expand Down Expand Up @@ -142,8 +168,8 @@ <h4>Declaration</h4>
</article>
</div>
<section class="footer">
<p>© 2016 <a class="link" href="https://twitter.com/lorentey" target="_blank" rel="external">Károly Lőrentey</a>. (Last updated: 2016-11-15)</p>
<p>Generated by <a class="link" href="https://github.com/realm/jazzy" target="_blank" rel="external">jazzy ♪♫ v0.7.2</a>, a <a class="link" href="http://realm.io" target="_blank" rel="external">Realm</a> project.</p>
<p>© 2016 <a class="link" href="https://twitter.com/lorentey" target="_blank" rel="external">Károly Lőrentey</a>. (Last updated: 2017-10-10)</p>
<p>Generated by <a class="link" href="https://github.com/realm/jazzy" target="_blank" rel="external">jazzy ♪♫ v0.8.4</a>, a <a class="link" href="http://realm.io" target="_blank" rel="external">Realm</a> project.</p>
</section>
</body>
</div>
Expand Down
Original file line number Diff line number Diff line change
@@ -1,37 +1,46 @@
<!DOCTYPE html>
<html lang="en">
<head>
<title>DigitIterator Struct Reference</title>
<title>BinaryFloatingPoint Extension Reference</title>
<link rel="stylesheet" type="text/css" href="../css/jazzy.css" />
<link rel="stylesheet" type="text/css" href="../css/highlight.css" />
<meta charset="utf-8">
<script src="../js/jquery.min.js" defer></script>
<script src="../js/jazzy.js" defer></script>

<script src="../js/lunr.min.js" defer></script>
<script src="../js/typeahead.jquery.js" defer></script>
<script src="../js/jazzy.search.js" defer></script>
</head>
<body>

<a name="//apple_ref/swift/Struct/DigitIterator" class="dashAnchor"></a>
<a name="//apple_ref/swift/Extension/BinaryFloatingPoint" class="dashAnchor"></a>

<a title="DigitIterator Struct Reference"></a>
<a title="BinaryFloatingPoint Extension Reference"></a>

<header class="header">
<p class="header-col header-col--primary">
<a class="header-link" href="../index.html">
BigInt Docs
</a>
(100% documented)
(92% documented)
</p>

<p class="header-col--secondary">
<form role="search" action="../search.json">
<input type="text" placeholder="Search documentation" data-typeahead>
</form>
</p>

<p class="header-col header-col--secondary">
<a class="header-link" href="https://github.com/lorentey/BigInt">
<a class="header-link" href="https://github.com/attaswift/BigInt">
<img class="header-icon" src="../img/gh.png"/>
View on GitHub
</a>
</p>

<p class="header-col header-col--secondary">
<a class="header-link" href="dash-feed://https%3A%2F%2Florentey%2Egithub%2Eio%2FBigInt%2Freference%2Fdocsets%2FBigInt%2Exml">
<a class="header-link" href="dash-feed://https%3A%2F%2Fattaswift%2Egithub%2Eio%2FBigInt%2Freference%2Fdocsets%2FBigInt%2Exml">
<img class="header-icon" src="../img/dash.png"/>
Install in Dash
</a>
Expand All @@ -41,7 +50,7 @@
<p class="breadcrumbs">
<a class="breadcrumb" href="../index.html">BigInt Reference</a>
<img class="carat" src="../img/carat.png" />
DigitIterator Struct Reference
BinaryFloatingPoint Extension Reference
</p>

<div class="content-wrapper">
Expand All @@ -50,38 +59,31 @@
<li class="nav-group-name">
<a class="nav-group-name-link" href="../Extensions.html">Extensions</a>
<ul class="nav-group-tasks">
<li class="nav-group-task">
<a class="nav-group-task-link" href="../Extensions/BinaryFloatingPoint.html">BinaryFloatingPoint</a>
</li>
<li class="nav-group-task">
<a class="nav-group-task-link" href="../Extensions/String.html">String</a>
</li>
</ul>
</li>
<li class="nav-group-name">
<a class="nav-group-name-link" href="../Functions.html">Functions</a>
<a class="nav-group-name-link" href="../Structs.html">Structures</a>
<ul class="nav-group-tasks">
<li class="nav-group-task">
<a class="nav-group-task-link" href="../Functions.html#/s:F6BigInt4sqrtFVS_7BigUIntS0_">sqrt(_:)</a>
<a class="nav-group-task-link" href="../Structs/BigInt.html">BigInt</a>
</li>
</ul>
</li>
<li class="nav-group-name">
<a class="nav-group-name-link" href="../Protocols.html">Protocols</a>
<ul class="nav-group-tasks">
<li class="nav-group-task">
<a class="nav-group-task-link" href="../Protocols/ShiftOperations.html">ShiftOperations</a>
<a class="nav-group-task-link" href="../Structs/BigInt/Sign.html">– Sign</a>
</li>
</ul>
</li>
<li class="nav-group-name">
<a class="nav-group-name-link" href="../Structs.html">Structs</a>
<ul class="nav-group-tasks">
<li class="nav-group-task">
<a class="nav-group-task-link" href="../Structs/BigInt.html">BigInt</a>
<a class="nav-group-task-link" href="../Structs/BigInt/Words.html">– Words</a>
</li>
<li class="nav-group-task">
<a class="nav-group-task-link" href="../Structs/BigUInt.html">BigUInt</a>
</li>
<li class="nav-group-task">
<a class="nav-group-task-link" href="../Structs/DigitIterator.html">DigitIterator</a>
<a class="nav-group-task-link" href="../Structs/BigUInt/Words.html">– Words</a>
</li>
</ul>
</li>
Expand All @@ -91,15 +93,14 @@

<section class="section">
<div class="section-content">
<h1>DigitIterator</h1>
<h1>BinaryFloatingPoint</h1>
<div class="declaration">
<div class="language">
<pre class="highlight"><code><span class="kd">public</span> <span class="kd">struct</span> <span class="kt">DigitIterator</span><span class="o">&lt;</span><span class="kt">Digit</span><span class="o">&gt;</span><span class="p">:</span> <span class="kt">IteratorProtocol</span></code></pre>
<pre class="highlight"><code><span class="kd">protocol</span> <span class="kt">BinaryFloatingPoint</span> <span class="p">:</span> <span class="kt">FloatingPoint</span><span class="p">,</span> <span class="kt">ExpressibleByFloatLiteral</span></code></pre>

</div>
</div>
<p>State for iterating through the digits of a big integer.</p>


</div>
</section>

Expand All @@ -110,30 +111,59 @@ <h1>DigitIterator</h1>
<li class="item">
<div>
<code>
<a name="/s:FV6BigInt13DigitIterator4nextFT_GSqx_"></a>
<a name="//apple_ref/swift/Method/next()" class="dashAnchor"></a>
<a class="token" href="#/s:FV6BigInt13DigitIterator4nextFT_GSqx_">next()</a>
<a name="/s:s19BinaryFloatingPointP6BigIntsAARzs17FixedWidthInteger11RawExponentRpzsAD0I11SignificandRpzlExA2CVcfc"></a>
<a name="//apple_ref/swift/Method/init(_:)" class="dashAnchor"></a>
<a class="token" href="#/s:s19BinaryFloatingPointP6BigIntsAARzs17FixedWidthInteger11RawExponentRpzsAD0I11SignificandRpzlExA2CVcfc">init(_:)</a>
</code>
</div>
<div class="height-container">
<div class="pointer-container"></div>
<section class="section">
<div class="pointer"></div>
<div class="abstract">
<p>Undocumented</p>

</div>
<div class="declaration">
<h4>Declaration</h4>
<div class="language">
<p class="aside-title">Swift</p>
<pre class="highlight"><code><span class="kd">protocol</span> <span class="kt">BinaryFloatingPoint</span> <span class="p">:</span> <span class="kt">FloatingPoint</span><span class="p">,</span> <span class="kt">ExpressibleByFloatLiteral</span></code></pre>

</div>
</div>
<div class="slightly-smaller">
<a href="https://github.com/attaswift/BigInt/tree/50208597616c8ab08729bbc33edf295bd06da27c/sources/Floating Point Conversion.swift#L45-L68">Show on GitHub</a>
</div>
</section>
</div>
</li>
<li class="item">
<div>
<code>
<a name="/s:s19BinaryFloatingPointP6BigIntsAARzs17FixedWidthInteger11RawExponentRpzsAD0I11SignificandRpzlExAC0D4UIntVcfc"></a>
<a name="//apple_ref/swift/Method/init(_:)" class="dashAnchor"></a>
<a class="token" href="#/s:s19BinaryFloatingPointP6BigIntsAARzs17FixedWidthInteger11RawExponentRpzsAD0I11SignificandRpzlExAC0D4UIntVcfc">init(_:)</a>
</code>
</div>
<div class="height-container">
<div class="pointer-container"></div>
<section class="section">
<div class="pointer"></div>
<div class="abstract">
<p>Return the next digit in the integer, or nil if there are no more digits.
Returned digits range from least to most significant.</p>
<p>Undocumented</p>

</div>
<div class="declaration">
<h4>Declaration</h4>
<div class="language">
<p class="aside-title">Swift</p>
<pre class="highlight"><code><span class="kd">public</span> <span class="k">mutating</span> <span class="kd">func</span> <span class="nf">next</span><span class="p">()</span> <span class="o">-&gt;</span> <span class="kt">Digit</span><span class="p">?</span></code></pre>
<pre class="highlight"><code><span class="kd">protocol</span> <span class="kt">BinaryFloatingPoint</span> <span class="p">:</span> <span class="kt">FloatingPoint</span><span class="p">,</span> <span class="kt">ExpressibleByFloatLiteral</span></code></pre>

</div>
</div>
<div class="slightly-smaller">
<a href="https://github.com/lorentey/BigInt/tree/v2.1.0/sources/BigUInt.swift#L255-L260">Show on GitHub</a>
<a href="https://github.com/attaswift/BigInt/tree/50208597616c8ab08729bbc33edf295bd06da27c/sources/Floating Point Conversion.swift#L70-L72">Show on GitHub</a>
</div>
</section>
</div>
Expand All @@ -146,8 +176,8 @@ <h4>Declaration</h4>
</article>
</div>
<section class="footer">
<p>© 2016 <a class="link" href="https://twitter.com/lorentey" target="_blank" rel="external">Károly Lőrentey</a>. (Last updated: 2016-11-15)</p>
<p>Generated by <a class="link" href="https://github.com/realm/jazzy" target="_blank" rel="external">jazzy ♪♫ v0.7.2</a>, a <a class="link" href="http://realm.io" target="_blank" rel="external">Realm</a> project.</p>
<p>© 2016 <a class="link" href="https://twitter.com/lorentey" target="_blank" rel="external">Károly Lőrentey</a>. (Last updated: 2017-10-10)</p>
<p>Generated by <a class="link" href="https://github.com/realm/jazzy" target="_blank" rel="external">jazzy ♪♫ v0.8.4</a>, a <a class="link" href="http://realm.io" target="_blank" rel="external">Realm</a> project.</p>
</section>
</body>
</div>
Expand Down
Loading

0 comments on commit e3879c5

Please sign in to comment.