Uploaded image for project: 'C++ Standard Library'
  1. C++ Standard Library
  2. STDCXX-8

[Intel C++/Linux] LDBL_MIN warning #239: floating point underflow

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 4.1.2
    • 4.1.3
    • 18. Language Support
    • None
    • Intel C++ 8.1, SUSE Linux ES 9, IA64

    Description

      Uses of the LDBL_MIN macro causes Intel C++ 8.1 on Linux IA64 to issue a warning:

      $ cat >t.cpp<<EOF && nice make SRCS=t.cpp
      > #include <cfloat>
      >
      > int main ()
      >

      { > const long double ldbl_min = LDBL_MIN; > (void)&ldbl_min; > }

      > EOF
      icc -c -I/build/sebor/dev/stdlib/include/ansi -D_RWSTDDEBUG -D_REENTRANT -D_RWSTD_USE_CONFIG -I/build/sebor/icc-8.1-15s/include -I/build/sebor/dev/stdlib/include -I/build/sebor/dev/stdlib/examples/include -Xc -no_cpprt -g -w1 t.cpp
      t.cpp(5): warning #239: floating point underflow
      const long double ldbl_min = LDBL_MIN;
      ^

      icc -no_cpprt /nfs/packages/mdx/redhat/ia64/compilers/intel/cc_8.1.030/lib/crtxi.o t.o -o t -lpthread -L/build/sebor/icc-8.1-15s/lib -lstd15s -Bstatic -lcxa -lunwind -Bdynamic /nfs/packages/mdx/redhat/ia64/compilers/intel/cc_8.1.030/lib/crtxn.o -lm

      Attachments

        Issue Links

          Activity

            People

              sebor Martin Sebor
              sebor Martin Sebor
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Time Tracking

                  Estimated:
                  Original Estimate - 8h
                  8h
                  Remaining:
                  Remaining Estimate - 8h
                  8h
                  Logged:
                  Time Spent - Not Specified
                  Not Specified