chickadee » math » fp2sqr

fp2+ x2 x1 y2 #!optional y1procedure
fp2- x2 x1 y2 #!optional y1procedure
fp2* x2 x1 y2 #!optional y1procedure
fp2/ x2 x1 y2 #!optional y1procedure
fp2abs x2 #!optional x1procedure
fp2sqr x2 #!optional x1procedure
fp2sqrt x2 #!optional x1procedure
x2
flonum
x1
flonum
y2
flonum
y1
flonum

Arithmetic and square root for double-double flonums. For arithmetic, error is less than 8 ulps. (See fp2ulp.) For fp2sqr and fp2sqrt, error is less than 1 ulp, and fp2abs is exact.