UNPKG

double-double

Version:

Pure double-double precision functions *with strict error bounds*.

1 lines 4.71 kB
(window.webpackJsonp=window.webpackJsonp||[]).push([[50],{186:function(e,t,n){"use strict";n.r(t),n.d(t,"frontMatter",(function(){return b})),n.d(t,"metadata",(function(){return l})),n.d(t,"rightToc",(function(){return u})),n.d(t,"default",(function(){return c}));var r=n(2),a=n(9),o=(n(0),n(207)),b={id:"_double_double_unary_dd_div_by_2_",title:"ddDivBy2",sidebar_label:"ddDivBy2"},l={id:"modules/_double_double_unary_dd_div_by_2_",isDocsHomePage:!1,title:"ddDivBy2",description:"ddDivBy2(f number[]",source:"@site/docs\\modules\\_double_double_unary_dd_div_by_2_.md",permalink:"/double-double/docs/modules/_double_double_unary_dd_div_by_2_",sidebar_label:"ddDivBy2",sidebar:"sidebar",previous:{title:"ddAbs",permalink:"/double-double/docs/modules/_double_double_unary_dd_abs_"},next:{title:"ddMultBy2",permalink:"/double-double/docs/modules/_double_double_unary_dd_mult_by_2_"}},u=[],d={rightToc:u};function c(e){var t=e.components,n=Object(a.a)(e,["components"]);return Object(o.b)("wrapper",Object(r.a)({},d,n,{components:t,mdxType:"MDXLayout"}),Object(o.b)("p",null,Object(o.b)("strong",{parentName:"p"},"ddDivBy2"),"(",Object(o.b)("inlineCode",{parentName:"p"},"f"),": number[]): ",Object(o.b)("em",{parentName:"p"},"number[]")),Object(o.b)("p",null,Object(o.b)("em",{parentName:"p"},"Defined in ",Object(o.b)("a",Object(r.a)({parentName:"em"},{href:"https://github.com/FlorisSteenkamp/double-double/blob/d35ae52/src/double-double/unary/dd-div-by-2.ts#L6"}),"double-double/unary/dd-div-by-2.ts:6"))),Object(o.b)("p",null,"Returns the result of dividing the given double-double by 2."),Object(o.b)("p",null,Object(o.b)("strong",{parentName:"p"},"Parameters:")),Object(o.b)("table",null,Object(o.b)("thead",{parentName:"table"},Object(o.b)("tr",{parentName:"thead"},Object(o.b)("th",Object(r.a)({parentName:"tr"},{align:null}),"Name"),Object(o.b)("th",Object(r.a)({parentName:"tr"},{align:null}),"Type"),Object(o.b)("th",Object(r.a)({parentName:"tr"},{align:null}),"Description"))),Object(o.b)("tbody",{parentName:"table"},Object(o.b)("tr",{parentName:"tbody"},Object(o.b)("td",Object(r.a)({parentName:"tr"},{align:null}),Object(o.b)("inlineCode",{parentName:"td"},"f")),Object(o.b)("td",Object(r.a)({parentName:"tr"},{align:null}),"number[]"),Object(o.b)("td",Object(r.a)({parentName:"tr"},{align:null}),"a double-double precision floating point number")))),Object(o.b)("p",null,Object(o.b)("strong",{parentName:"p"},"Returns:")," ",Object(o.b)("em",{parentName:"p"},"number[]")))}c.isMDXComponent=!0},207:function(e,t,n){"use strict";n.d(t,"a",(function(){return i})),n.d(t,"b",(function(){return s}));var r=n(0),a=n.n(r);function o(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function b(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function l(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?b(Object(n),!0).forEach((function(t){o(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):b(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function u(e,t){if(null==e)return{};var n,r,a=function(e,t){if(null==e)return{};var n,r,a={},o=Object.keys(e);for(r=0;r<o.length;r++)n=o[r],t.indexOf(n)>=0||(a[n]=e[n]);return a}(e,t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(r=0;r<o.length;r++)n=o[r],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(a[n]=e[n])}return a}var d=a.a.createContext({}),c=function(e){var t=a.a.useContext(d),n=t;return e&&(n="function"==typeof e?e(t):l(l({},t),e)),n},i=function(e){var t=c(e.components);return a.a.createElement(d.Provider,{value:t},e.children)},p={inlineCode:"code",wrapper:function(e){var t=e.children;return a.a.createElement(a.a.Fragment,{},t)}},m=a.a.forwardRef((function(e,t){var n=e.components,r=e.mdxType,o=e.originalType,b=e.parentName,d=u(e,["components","mdxType","originalType","parentName"]),i=c(n),m=r,s=i["".concat(b,".").concat(m)]||i[m]||p[m]||o;return n?a.a.createElement(s,l(l({ref:t},d),{},{components:n})):a.a.createElement(s,l({ref:t},d))}));function s(e,t){var n=arguments,r=t&&t.mdxType;if("string"==typeof e||r){var o=n.length,b=new Array(o);b[0]=m;var l={};for(var u in t)hasOwnProperty.call(t,u)&&(l[u]=t[u]);l.originalType=e,l.mdxType="string"==typeof e?e:r,b[1]=l;for(var d=2;d<o;d++)b[d]=n[d];return a.a.createElement.apply(null,b)}return a.a.createElement.apply(null,n)}m.displayName="MDXCreateElement"}}]);