Beefy Boxes and Bandwidth Generously Provided by pair Networks
Just another Perl shrine
 
PerlMonks  

comment on

( [id://3333]=superdoc: print w/replies, xml ) Need Help??

Hello syphilis,

Just a quick update. I went to this site and downloaded the code and successfully compiled using 'make -f Makefile.Linux' on a AMD server running Debian with gcc 4.4.5. It seems to contain the missing functions that you mentioned. I ran the sample, and it seems to work?????

~/dfpal# ./dfpsample 1.000001 60000 Version of DFPAL: 2.20 DFPAL is operating in software value of n4 = 9.000000000000000E+384 9E+384 * 9E+384 = Infinity 9E+384 * 9E+384 => Overflow DFPAL_TRP_INVALID is enabled! DFPAL_TRP_OVERFLOW is not enabled! DFPAL_TRP_INVALID is enabled! sign of n1 0 Zero value = 0 n1 is less than n2 n1 - n2 = -59998.999999 N1 - N2 = -59998.999999 original decimal64 n1=1.000001 minus n1 = -1.000001 It is still Overflow Now, it is not Overflow ~/dfpal#
Don't know what the sample is supposed to do, so your knowledge of the subject would be greatly appreciated to show some light. At least it's a start!

Regards...Ed

"Well done is better than well said." - Benjamin Franklin


In reply to Re^4: Decimal Floating Point (DFP) and does Perl needs DFP? by flexvault
in thread Decimal Floating Point (DFP) and does Perl needs DFP? by flexvault

Title:
Use:  <p> text here (a paragraph) </p>
and:  <code> code here </code>
to format your post; it's "PerlMonks-approved HTML":



  • Are you posting in the right place? Check out Where do I post X? to know for sure.
  • Posts may use any of the Perl Monks Approved HTML tags. Currently these include the following:
    <code> <a> <b> <big> <blockquote> <br /> <dd> <dl> <dt> <em> <font> <h1> <h2> <h3> <h4> <h5> <h6> <hr /> <i> <li> <nbsp> <ol> <p> <small> <strike> <strong> <sub> <sup> <table> <td> <th> <tr> <tt> <u> <ul>
  • Snippets of code should be wrapped in <code> tags not <pre> tags. In fact, <pre> tags should generally be avoided. If they must be used, extreme care should be taken to ensure that their contents do not have long lines (<70 chars), in order to prevent horizontal scrolling (and possible janitor intervention).
  • Want more info? How to link or How to display code and escape characters are good places to start.
Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others musing on the Monastery: (3)
As of 2024-03-29 23:40 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found