1 1.5 rillig /* $NetBSD: msg_142.c,v 1.5 2021/07/13 19:11:35 rillig Exp $ */ 2 1.1 rillig # 3 "msg_142.c" 3 1.1 rillig 4 1.1 rillig // Test for message: floating point overflow detected, op %s [142] 5 1.1 rillig 6 1.5 rillig /* lint1-only-if ldbl-64 */ 7 1.5 rillig /* 8 1.5 rillig * For 96-bit and 128-bit floating point numbers, a different number of 9 1.5 rillig * multipliers is needed to produce an overflow. 10 1.5 rillig */ 11 1.5 rillig 12 1.5 rillig /* expect+2: warning: floating point overflow detected, op * [142] */ 13 1.5 rillig /* expect+1: warning: floating point overflow detected, op * [142] */ 14 1.5 rillig double dbl = 1e100 * 1e100 * 1e100 * 1e100 * 1e100; 15