UNPKG
big-rat
Version:
latest (1.0.4)
1.0.4
1.0.3
1.0.2
1.0.1
1.0.0
0.0.0
A big integer rational number
github.com/rat-nest/big-rat
rat-nest/big-rat
big-rat
/
recip.js
8 lines
(5 loc)
•
98 B
JavaScript
View Raw
1
2
3
4
5
6
7
8
'use strict'
module
.
exports
= recip
function
recip
(
f
) {
return
[f[
1
].
clone
(), f[
0
].
clone
()] }