// output of ./demo/arith/cordic-hyp-demo.cc: // Description: //% CORDIC computation of hyperbolic sine and cosine. arg 1: 1 == t [Argument for CORDIC sinh/cosh computation] default=1 arg 2: 16 == n [Number of iterations] default=16 -1 1.20749706 0.00000000 +1.00000000 +0.00000000 1 1.20749706 0.60374853 +0.45069385 -0.54930614 2 1.35843420 0.90562280 +0.19528104 -0.25541281 3 1.47163705 1.07542707 +0.06962382 -0.12565721 4 1.53885124 1.16740439 +0.00704225 -0.06258157 4 1.61181401 1.26358259 -0.05553931 -0.06258157 5 1.57232706 1.21321340 -0.02427913 +0.03126017 6 1.55337060 1.18864579 -0.00865286 +0.01562627 7 1.54408430 1.17651008 -0.00084020 +0.00781265 8 1.53948856 1.17047850 +0.00306606 +0.00390626 9 1.54177465 1.17348532 +0.00111293 -0.00195312 10 1.54292063 1.17499096 +0.00013637 -0.00097656 11 1.54349436 1.17574434 -0.00035190 -0.00048828 12 1.54320731 1.17536751 -0.00010776 +0.00024414 13 1.54306383 1.17517913 +0.00001430 +0.00012207 13 1.54320729 1.17536749 -0.00010776 -0.00012207 14 1.54313555 1.17527330 -0.00004673 +0.00006103 15 1.54309968 1.17522621 -0.00001621 +0.00003051 99 1.54308063 1.17520119 +0.00000000 +0.00000000 dc = 1.905335326313206679e-05 ds = 2.501748123262537149e-05 2**(-n) = 1.52587890625e-05