Skip to content

Commit fc4dbd9

Browse files
committed
Test release v0.1.7
1 parent b3e379c commit fc4dbd9

File tree

3 files changed

+24
-24
lines changed

3 files changed

+24
-24
lines changed

DESCRIPTION

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
name: apa
2-
version: 0.1.6
3-
date: 2021-11-08
2+
version: 0.1.7
3+
date: 2021-11-11
44
author: Kai T. Ohlhus <[email protected]>
55
maintainer: Kai T. Ohlhus <[email protected]>
66
title: Octave/Matlab arbitrary precision arithmetic.

README.ipynb

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@
2525
"metadata": {},
2626
"outputs": [],
2727
"source": [
28-
"pkg install 'https://github.com/gnu-octave/apa/releases/download/v0.1.6/apa-0.1.6.zip'\n",
28+
"pkg install 'https://github.com/gnu-octave/apa/releases/download/v0.1.7/apa-0.1.7.zip'\n",
2929
"pkg load apa\n",
3030
"pkg test apa"
3131
]
@@ -45,10 +45,10 @@
4545
"metadata": {},
4646
"outputs": [],
4747
"source": [
48-
"urlwrite ('https://github.com/gnu-octave/apa/releases/download/v0.1.6/apa-0.1.6.zip', ...\n",
49-
" 'apa-0.1.6.zip');\n",
50-
"unzip ('apa-0.1.6.zip');\n",
51-
"cd (fullfile ('apa-0.1.6', 'inst'))\n",
48+
"urlwrite ('https://github.com/gnu-octave/apa/releases/download/v0.1.7/apa-0.1.7.zip', ...\n",
49+
" 'apa-0.1.7.zip');\n",
50+
"unzip ('apa-0.1.7.zip');\n",
51+
"cd (fullfile ('apa-0.1.7', 'inst'))\n",
5252
"install_apa\n",
5353
"test_apa"
5454
]

README.md

Lines changed: 17 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ From the Octave command-line run:
66

77

88
```octave
9-
pkg install 'https://github.com/gnu-octave/apa/releases/download/v0.1.6/apa-0.1.6.zip'
9+
pkg install 'https://github.com/gnu-octave/apa/releases/download/v0.1.7/apa-0.1.7.zip'
1010
pkg load apa
1111
pkg test apa
1212
```
@@ -15,10 +15,10 @@ From the Matlab command-line run (also works for Octave):
1515

1616

1717
```octave
18-
urlwrite ('https://github.com/gnu-octave/apa/releases/download/v0.1.6/apa-0.1.6.zip', ...
19-
'apa-0.1.6.zip');
20-
unzip ('apa-0.1.6.zip');
21-
cd (fullfile ('apa-0.1.6', 'inst'))
18+
urlwrite ('https://github.com/gnu-octave/apa/releases/download/v0.1.7/apa-0.1.7.zip', ...
19+
'apa-0.1.7.zip');
20+
unzip ('apa-0.1.7.zip');
21+
cd (fullfile ('apa-0.1.7', 'inst'))
2222
install_apa
2323
test_apa
2424
```
@@ -37,11 +37,11 @@ rop = op1 + 1
3737
```
3838

3939
rop =
40-
40+
4141
5 1 1
4242
1 5 1
4343
1 1 5
44-
44+
4545

4646

4747
However, you can adjust the binary precision.
@@ -59,11 +59,11 @@ A(3,3) = A(3,3) + too_small
5959

6060
too_small = 8.673617379884035e-19
6161
A =
62-
62+
6363
1 1 1
6464
1 1 1
6565
1 1 1
66-
66+
6767

6868

6969

@@ -72,11 +72,11 @@ B = A - ones (3)
7272
```
7373

7474
B =
75-
75+
7676
0 0 0
7777
0 0 0
7878
0 0 0
79-
79+
8080

8181

8282
The same calculation using APA and quadruple precision (113 binary digits):
@@ -88,11 +88,11 @@ A(3,3) = A(3,3) + too_small
8888
```
8989

9090
A =
91-
91+
9292
1 1 1
9393
1 1 1
9494
1 1 1.00000000000000000086736173798840355
95-
95+
9696

9797

9898

@@ -103,11 +103,11 @@ B = A - ones (3)
103103
```
104104

105105
B =
106-
106+
107107
0 * 2^(-1) 0 * 2^(-1) 0 * 2^(-1)
108108
0 * 2^(-1) 0 * 2^(-1) 0 * 2^(-1)
109109
0 * 2^(-1) 0 * 2^(-1) 1 * 2^(-60)
110-
110+
111111

112112

113113
The high-level MPFR interface is the preferred choice for quick numerical
@@ -161,11 +161,11 @@ rop % Note rop vs. ret!
161161
```
162162

163163
rop =
164-
164+
165165
6 2 2
166166
2 6 2
167167
2 2 6
168-
168+
169169

170170

171171
In the low-level interface the type checks are stricter,

0 commit comments

Comments
 (0)