Mercurial > hg > CbC > CbC_gcc
annotate gcc/testsuite/g++.dg/torture/pr51600.C @ 152:2b5abeee2509
update gcc11
author | anatofuz |
---|---|
date | Mon, 25 May 2020 07:50:57 +0900 |
parents | 04ced10e8804 |
children |
rev | line source |
---|---|
111 | 1 template<class T> inline T min(T a, T b) { return a < b ? a : b; } |
2 double cornerbound(double *P, double (*m)(double, double)) | |
3 { | |
4 double b=m(P[0],P[3]); | |
5 return m(b,P[12]); | |
6 } | |
7 void bound(double *P, double (*m)(double, double), double b) | |
8 { | |
9 m(b,cornerbound(P,m)); | |
10 } | |
11 void bounds(double fuzz, unsigned maxdepth) | |
12 { | |
13 double Px[]={}; | |
14 double bx=Px[0]; | |
15 bound(Px,min,bx); | |
16 } |