****************************************************************************** ********************* IBIS GOLDEN PARSER BUG REPORT FORM ********************* ****************************************************************************** INSTRUCTIONS To report a bug in the IBIS golden parser. Please fill out the top part of the following form and send the complete form to ibis-bug@eda.org. A list of reported bugs will be maintained on eda.org. ****************************************************************************** PARSER VERSION NUMBER: 5.1.2 PLATFORM (SPARC, HP700, PC, etc.): PC OS AND VERSION: Windows 7 REPORTED BY: Curtis Clark, ANSYS, Inc. DATE: January 14, 2013 DESCRIPTION OF BUG: This is a code cleanup proposal to correct a wrong minimum integer limit in the ami.h module and also to clean up the code to avoid an unnecessary #include math.h library. An old 32 bit platform failed to build the Version 5.1.2 code due to the way AMI_INTEGER_MIN and AMI_INTEGER_MAX were defined: #define AMI_INTEGER_MAX (pow(2,31)-1) #define AMI_INTEGER_MIN (-pow(2,32)) The AMI_INTEGER_MIN should be AMI_INTEGER_MIN(-pow(2,31). The complies with stated integer integer minimum of -2147483648 in the specification. A better solution might be to explicitly define #define AMI_INTEGER_MAX 2147483647 #define AMI_INTEGER_MIN -2147483648 Then #include math.h could be removed. ------- INSERT IBIS FILE DEMONSTRATING THE BUG: None ****************************************************************************** ******************** BELOW FOR ADMINISTRATION AND TRACKING ******************* ****************************************************************************** BUG NUMBER: 141 SEVERITY: [FATAL, SEVERE, MODERATE, ANNOYING, ENHANCEMENT] MODERATE PRIORITY: [HIGH, MEDIUM, LOW] LOW STATUS: [OPEN, CLOSED, WILL NOT FIX, NOT A BUG] CLOSED FIXED VERSION: 5.1.3 FIXED DATE: March 20, 2013 NOTES ON BUG FIX: Classified at the February 22, 2013 Teleconference meeting. To be fixed in the next release. ****************************************************************************** ******************************************************************************