Home | History | Annotate | Line # | Download | only in lint1
msg_248.c revision 1.4
      1  1.4  rillig /*	$NetBSD: msg_248.c,v 1.4 2023/01/21 17:48:29 rillig Exp $	*/
      2  1.1  rillig # 3 "msg_248.c"
      3  1.1  rillig 
      4  1.1  rillig // Test for message: floating-point constant out of range [248]
      5  1.1  rillig 
      6  1.4  rillig float fits_flt = 1e37f;
      7  1.4  rillig /* expect+1: warning: floating-point constant out of range [248] */
      8  1.4  rillig float too_large_flt = 1e40f;
      9  1.4  rillig 
     10  1.4  rillig double fits_dbl = 1e300;
     11  1.4  rillig /* expect+1: warning: floating-point constant out of range [248] */
     12  1.4  rillig double too_large_dbl = 1e310;
     13