@ohos-ports/math-base-special-kernel-tan 0.2.4-beta.0 → 0.2.4-beta.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.js +1 -1
- package/lib/main.js +2 -2
- package/package.json +11 -11
package/dist/index.js
CHANGED
|
@@ -3,7 +3,7 @@ function W(r){return r===0?.13333333333320124:.13333333333320124+r*(.02186948829
|
|
|
3
3
|
});var d=l(function(B,O){
|
|
4
4
|
function _(r){return r===0?.05396825397622605:.05396825397622605+r*(.0088632398235993+r*(.0014562094543252903+r*(.0002464631348184699+r*(7140724913826082e-20+r*2590730518636337e-20))))}O.exports=_
|
|
5
5
|
});var I=l(function(D,H){
|
|
6
|
-
var g=require('@stdlib
|
|
6
|
+
var g=require('@ohos-ports/stdlib-number-float64-base-get-high-word/dist'),E=require('@ohos-ports/stdlib-number-float64-base-set-low-word/dist'),h=q(),w=d(),A=.7853981633974483,F=3061616997868383e-32,L=.3333333333333341,P=2147483647;function S(r,a,p){var f,o,s,v,u,n,i,e,t;return f=g(r),o=f&P|0,o>=1072010280&&(r<0&&(r=-r,a=-a),t=A-r,e=F-a,r=t+e,a=0),t=r*r,e=t*t,v=h(e),i=t*w(e),u=t*r,v=a+t*(u*(v+i)+a),v+=L*u,e=r+v,o>=1072010280?(i=p,(1-(f>>30&2))*(i-2*(r-(e*e/(e+i)-v)))):p===1?e:(t=E(e,0),i=v-(t-r),s=-1/e,n=E(s,0),u=1+n*t,n+s*(u+n*i))}H.exports=S
|
|
7
7
|
});var T=I();module.exports=T;
|
|
8
8
|
/** @license Apache-2.0 */
|
|
9
9
|
/** @license Apache-2.0 */
|
package/lib/main.js
CHANGED
|
@@ -34,8 +34,8 @@
|
|
|
34
34
|
|
|
35
35
|
// MODULES //
|
|
36
36
|
|
|
37
|
-
var getHighWord = require( '@stdlib
|
|
38
|
-
var setLowWord = require( '@stdlib
|
|
37
|
+
var getHighWord = require( '@ohos-ports/stdlib-number-float64-base-get-high-word' );
|
|
38
|
+
var setLowWord = require( '@ohos-ports/stdlib-number-float64-base-set-low-word' );
|
|
39
39
|
var polyvalOdd = require( './polyval_t_odd.js' );
|
|
40
40
|
var polyvalEven = require( './polyval_t_even.js' );
|
|
41
41
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ohos-ports/math-base-special-kernel-tan",
|
|
3
|
-
"version": "0.2.4-beta.
|
|
3
|
+
"version": "0.2.4-beta.1",
|
|
4
4
|
"description": "Compute the tangent of a double-precision floating-point number on [-π/4, π/4].",
|
|
5
5
|
"license": "Apache-2.0",
|
|
6
6
|
"author": {
|
|
@@ -28,21 +28,21 @@
|
|
|
28
28
|
"homepage": "https://stdlib.io",
|
|
29
29
|
"repository": {
|
|
30
30
|
"type": "git",
|
|
31
|
-
"url": "
|
|
31
|
+
"url": "git://github.com/ohos-ports/ohos-ports.git",
|
|
32
32
|
"directory": "ports/math-base-special-kernel-tan/0.2.4"
|
|
33
33
|
},
|
|
34
34
|
"bugs": {
|
|
35
35
|
"url": "https://github.com/ohos-ports/ohos-ports/issues"
|
|
36
36
|
},
|
|
37
37
|
"dependencies": {
|
|
38
|
-
"@stdlib
|
|
39
|
-
"@stdlib
|
|
40
|
-
"@stdlib
|
|
41
|
-
"@stdlib
|
|
42
|
-
"@stdlib
|
|
43
|
-
"@stdlib
|
|
44
|
-
"@stdlib
|
|
45
|
-
"@stdlib
|
|
38
|
+
"@ohos-ports/stdlib-napi-argv": "^0.2.3-beta.0",
|
|
39
|
+
"@ohos-ports/stdlib-napi-argv-double": "^0.2.2-beta.0",
|
|
40
|
+
"@ohos-ports/stdlib-napi-argv-int32": "^0.2.3-beta.0",
|
|
41
|
+
"@ohos-ports/stdlib-napi-create-double": "^0.0.3-beta.0",
|
|
42
|
+
"@ohos-ports/stdlib-napi-export": "^0.3.1-beta.0",
|
|
43
|
+
"@ohos-ports/stdlib-number-float64-base-get-high-word": "^0.2.3-beta.0",
|
|
44
|
+
"@ohos-ports/stdlib-number-float64-base-set-low-word": "^0.2.3-beta.0",
|
|
45
|
+
"@ohos-ports/stdlib-utils-library-manifest": "^0.2.4-beta.3"
|
|
46
46
|
},
|
|
47
47
|
"devDependencies": {},
|
|
48
48
|
"engines": {
|
|
@@ -55,8 +55,8 @@
|
|
|
55
55
|
"freebsd",
|
|
56
56
|
"linux",
|
|
57
57
|
"macos",
|
|
58
|
-
"openharmony",
|
|
59
58
|
"openbsd",
|
|
59
|
+
"openharmony",
|
|
60
60
|
"sunos",
|
|
61
61
|
"win32",
|
|
62
62
|
"windows"
|