کد مقاله کد نشریه سال انتشار مقاله انگلیسی نسخه تمام متن
421570 684900 2012 9 صفحه PDF دانلود رایگان
عنوان انگلیسی مقاله ISI
Checking Compatibility of Bit Sizes in Floating Point Comparison Operations
موضوعات مرتبط
مهندسی و علوم پایه مهندسی کامپیوتر نظریه محاسباتی و ریاضیات
پیش نمایش صفحه اول مقاله
Checking Compatibility of Bit Sizes in Floating Point Comparison Operations
چکیده انگلیسی

We motivate, define and design a simple static analysis to check that comparisons of floating point values use compatible bit widths and thus compatible precision ranges. Precision mismatches arise due to the difference in bit widths of processor internal floating point registers (typically 80 or 64 bits) and their corresponding widths when stored in memory (64 or 32 bits). The analysis guarantees that floating point values from memory (i.e. array elements, instance and static fields) are not compared against floating point numbers in registers (i.e. arguments or locals).Without such an analysis, static symbolic verification is unsound and hence may report false negatives.The static analysis is fully implemented in Clousot, our static contract checker based on abstract interpretation.

ناشر
Database: Elsevier - ScienceDirect (ساینس دایرکت)
Journal: Electronic Notes in Theoretical Computer Science - Volume 288, 4 December 2012, Pages 15-23