From: Volker v. N. <vol...@gm...> - 2014-09-22 21:09:16
|
Am 22.09.2014 21:40, schrieb Raymond Toy: >>>>>> "Volker" == Volker van Nek <vol...@gm...> writes: > > Volker> Am 22.09.2014 18:27, schrieb Raymond Toy: > >> > Volker> fpprec:30$ > Volker> x:0.5b0$ > Volker> asin(x); --> 5.23598775598298873077107230547b−1 > Volker> bs_asin(x); --> 5.23598775598298873077107230547b−1 > Volker> sin(asin(x)); --> 5.00000000000000000000000000001b−1 > Volker> bs_sin(bs_asin(x)); --> 5.00000000000000000023968760547b−1 > >> > >> Interesting. I'm sure this can be fixed, but it seems like an odd > >> artifact. > >> > > Volker> I fixed it. Now it seems that the bs_ functions are more accurate. > > What was the fix? (Did you ever post the code? I can't seem to find > it.) > Not worth mentioning. Most of the code I have written during spring and I had forgotten a lot during summer. While fixing one thing I messed up another. I will commit the code tomorrow. Too late for me now. > > I would look at what bigfloatp does in the case where fpprec is lower > than the actual precision of the bigfloat. It adds the value of *m > into the exponent. Yeah! bigfloatp does it. Now I understand the mechanism. Ray, thanks a lot. Volker > > Ray > > > ------------------------------------------------------------------------------ > Meet PCI DSS 3.0 Compliance Requirements with EventLog Analyzer > Achieve PCI DSS 3.0 Compliant Status with Out-of-the-box PCI DSS Reports > Are you Audit-Ready for PCI DSS 3.0 Compliance? Download White paper > Comply to PCI DSS 3.0 Requirement 10 and 11.5 with EventLog Analyzer > http://pubads.g.doubleclick.net/gampad/clk?id=154622311&iu=/4140/ostg.clktrk > _______________________________________________ > Maxima-discuss mailing list > Max...@li... > https://lists.sourceforge.net/lists/listinfo/maxima-discuss > |