hig.sePublications

Jump to content
Change search PrimeFaces.cw("Fieldset","widget_formSmash_search",{id:"formSmash:search",widgetVar:"widget_formSmash_search",toggleable:true,collapsed:true,toggleSpeed:500,behaviors:{toggle:function(ext) {PrimeFaces.ab({s:"formSmash:search",e:"toggle",f:"formSmash",p:"formSmash:search"},ext);}}});
$(function(){PrimeFaces.cw("Dialog","citationDialog",{id:"formSmash:upper:j_idt246",widgetVar:"citationDialog",width:"800",height:"600"});});
$(function(){PrimeFaces.cw("ImageSwitch","widget_formSmash_j_idt1542",{id:"formSmash:j_idt1542",widgetVar:"widget_formSmash_j_idt1542",fx:"fade",speed:500,timeout:8000},"imageswitch");});
#### Open Access in DiVA

No full text in DiVA
#### Other links

Aplimat
#### Authority records

Hast, Anders
#### Search in DiVA

##### By author/editor

Hast, Anders
##### By organisation

Ämnesavdelningen för datavetenskap
#### Search outside of DiVA

GoogleGoogle ScholarfindCitings = function() {PrimeFaces.ab({s:"formSmash:j_idt1934",f:"formSmash",u:"formSmash:citings",pa:arguments[0]});};$(function() {findCitings();}); $(function(){PrimeFaces.cw('Chart','widget_formSmash_visits',{id:'formSmash:visits',type:'bar',responsive:true,data:[[2,3,1,2,1,2,3,2,1,1]],title:"Visits for this publication",axes:{xaxis: {label:"",renderer:$.jqplot.CategoryAxisRenderer,tickOptions:{angle:-90}},yaxis: {label:"",min:0,max:10,renderer:$.jqplot.LinearAxisRenderer,tickOptions:{angle:0}}},series:[{label:'diva2:232301'}],ticks:["Nov -21","Feb -22","Mar -22","Jul -22","Dec -22","Mar -23","May -23","Aug -23","Dec -23","Apr -24"],orientation:"vertical",barMargin:3,datatip:true,datatipFormat:"<span style=\"display:none;\">%2$d</span><span>%2$d</span>"},'charts');}); Total: 126 hits
$(function(){PrimeFaces.cw("Dialog","citationDialog",{id:"formSmash:lower:j_idt2034",widgetVar:"citationDialog",width:"800",height:"600"});});

CiteExport$(function(){PrimeFaces.cw("TieredMenu","widget_formSmash_upper_j_idt208",{id:"formSmash:upper:j_idt208",widgetVar:"widget_formSmash_upper_j_idt208",autoDisplay:true,overlay:true,my:"left top",at:"left bottom",trigger:"formSmash:upper:exportLink",triggerEvent:"click"});}); $(function(){PrimeFaces.cw("OverlayPanel","widget_formSmash_upper_j_idt215_j_idt221",{id:"formSmash:upper:j_idt215:j_idt221",widgetVar:"widget_formSmash_upper_j_idt215_j_idt221",target:"formSmash:upper:j_idt215:permLink",showEffect:"blind",hideEffect:"fade",my:"right top",at:"right bottom",showCloseIcon:true});});

Vectorized table driven algorithms for double precision elementary functions using Taylor expansionsPrimeFaces.cw("AccordionPanel","widget_formSmash_some",{id:"formSmash:some",widgetVar:"widget_formSmash_some",multiple:true}); PrimeFaces.cw("AccordionPanel","widget_formSmash_all",{id:"formSmash:all",widgetVar:"widget_formSmash_all",multiple:true});
function selectAll()
{
var panelSome = $(PrimeFaces.escapeClientId("formSmash:some"));
var panelAll = $(PrimeFaces.escapeClientId("formSmash:all"));
panelAll.toggle();
toggleList(panelSome.get(0).childNodes, panelAll);
toggleList(panelAll.get(0).childNodes, panelAll);
}
/*Toggling the list of authorPanel nodes according to the toggling of the closeable second panel */
function toggleList(childList, panel)
{
var panelWasOpen = (panel.get(0).style.display == 'none');
// console.log('panel was open ' + panelWasOpen);
for (var c = 0; c < childList.length; c++) {
if (childList[c].classList.contains('authorPanel')) {
clickNode(panelWasOpen, childList[c]);
}
}
}
/*nodes have styleClass ui-corner-top if they are expanded and ui-corner-all if they are collapsed */
function clickNode(collapse, child)
{
if (collapse && child.classList.contains('ui-corner-top')) {
// console.log('collapse');
child.click();
}
if (!collapse && child.classList.contains('ui-corner-all')) {
// console.log('expand');
child.click();
}
}
2009 (English)In: Aplimat - Journal of Applied Mathematics, ISSN 1337-6365, Vol. 2, no 3, p. 171-188Article in journal (Refereed) Published
##### Abstract [en]

##### Place, publisher, year, edition, pages

2009. Vol. 2, no 3, p. 171-188
##### Keywords [en]

Vectorized algorithms, Taylor expansion, Double precision
##### Identifiers

URN: urn:nbn:se:hig:diva-5075OAI: oai:DiVA.org:hig-5075DiVA, id: diva2:232301
#####

PrimeFaces.cw("AccordionPanel","widget_formSmash_j_idt690",{id:"formSmash:j_idt690",widgetVar:"widget_formSmash_j_idt690",multiple:true});
#####

PrimeFaces.cw("AccordionPanel","widget_formSmash_j_idt699",{id:"formSmash:j_idt699",widgetVar:"widget_formSmash_j_idt699",multiple:true});
#####

PrimeFaces.cw("AccordionPanel","widget_formSmash_j_idt706",{id:"formSmash:j_idt706",widgetVar:"widget_formSmash_j_idt706",multiple:true}); Available from: 2009-08-21 Created: 2009-08-21 Last updated: 2018-03-13Bibliographically approved

This paper presents fast implementations of the inverse square root and arcsine, both in double precision. In single precision it is often possible to use a small table and one ordinary Newton-Raphson iteration to compute elementary functions such as the square root. In double precision a substantially larger table is necessary to obtain the desired precision, or, if a smaller table is used, the additional Newton-Raphson iterations required to obtain the precision often requires the evaluation of other expensive elementary functions. Furthermore, large tables use a lot of the cash memory that should have been used for the application code.

Obtaining the desired precision using a small table can instead be realised by using a higher order method than the second order Newton-Raphson method. A generalization of Newton's method to higher order is Householder's method, which unfortunately often results in very complicated expressions requiring many multiplications, additions, and even divisions.

We show how a high-order method can be used, which only requires a few extra additions and multiplications for each degree of higher order. The method starts from the Taylor expansion of the difference of the value of the elementary function and a starting guess value for each iteration. If the Taylor series is truncated after the second term, ordinary Newton iterations are obtained. In several cases it is possible to algebraically simplify the difference between the true value and the starting guess value. In those cases we show that it is advantageous to use the Taylor series to higher order to obtain the fast convergent method. Moreover, we will show how the coefficients of a Chebyshev polynomial can be fitted to give as little error as possible for the functions close to zero and in the same time reduce the terms in the Taylor expansion.

In the paper we benchmark two example implementations of the method on the x86_64 architecture. The first is the inverse square root, where the actual table (to 12 bit precision) is provided by the processor hardware. The inverse square root is important in many application programs, including computer graphics, and explicit particle simulation codes, for instance the Monte Carlo and Molecular Dynamics methods of statistical mechanics. The other example is the arcsine function, which has a slow converging Taylor expansion and where no tables are provided by the hardware. The vectorized versions of the implementations of the inverse square root are 3.5 times faster than compiled code on the Athlon64 and about 5 times faster on the Core 2. The scalar version of the arcsine function is, depending on order and table size, between 2 and 3 times faster than the compiled code, and the vectorized version is between 3 and 4 times faster on the Athlon64, while it is between 4 and 5 times faster than the compiled version on the Core 2.

urn-nbn$(function(){PrimeFaces.cw("Tooltip","widget_formSmash_j_idt1959",{id:"formSmash:j_idt1959",widgetVar:"widget_formSmash_j_idt1959",showEffect:"fade",hideEffect:"fade",showDelay:500,hideDelay:300,target:"formSmash:altmetricDiv"});});

CiteExport$(function(){PrimeFaces.cw("TieredMenu","widget_formSmash_lower_j_idt2016",{id:"formSmash:lower:j_idt2016",widgetVar:"widget_formSmash_lower_j_idt2016",autoDisplay:true,overlay:true,my:"left top",at:"left bottom",trigger:"formSmash:lower:exportLink",triggerEvent:"click"});}); $(function(){PrimeFaces.cw("OverlayPanel","widget_formSmash_lower_j_idt2017_j_idt2019",{id:"formSmash:lower:j_idt2017:j_idt2019",widgetVar:"widget_formSmash_lower_j_idt2017_j_idt2019",target:"formSmash:lower:j_idt2017:permLink",showEffect:"blind",hideEffect:"fade",my:"right top",at:"right bottom",showCloseIcon:true});});