|
From: SourceForge.net <no...@so...> - 2003-10-26 00:51:31
|
Feature Requests item #824364, was opened at 2003-10-15 22:18 Message generated for change (Comment added) made by lballabio You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=362740&aid=824364&group_id=12740 Category: None Group: None Status: Open Priority: 5 Submitted By: Dann Corbit (danncorbit) Assigned to: Nobody/Anonymous (nobody) Summary: The Real typedef should be used throughout Initial Comment: You have a typedef of real like so: typedef double Real; but throughout the code, you use ordinary doubles all over the place. Hence, the typedef is basically useless. If (on the other hand) throughout the code you used Real parameters and Real automatic variables, then I would be able to use the system with other data types such as Moshier's Qfloat, Scott's MIRACL, etc. by making my own typedef as follows: typedef qfloat Real; or similar to that. We need to compute with 100 digits of accuracy, so a double simply won't do. ---------------------------------------------------------------------- >Comment By: Luigi Ballabio (lballabio) Date: 2003-10-24 09:32 Message: Logged In: YES user_id=75450 Hi, I have to admit that I even forgot about the Real typedef... We'll see what we can do. Does a textual replace of all "double" to "Real" work for you? And just out of curiosity, 100 digits? What kind of financial application needs that accuracy? Bye, Luigi ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=362740&aid=824364&group_id=12740 |