Mercurial > hg > CbC > CbC_gcc
comparison gcc/testsuite/g++.dg/torture/pr38811.C @ 131:84e7813d76e9
gcc-8.2
author | mir3636 |
---|---|
date | Thu, 25 Oct 2018 07:37:49 +0900 |
parents | 04ced10e8804 |
children |
comparison
equal
deleted
inserted
replaced
111:04ced10e8804 | 131:84e7813d76e9 |
---|---|
15 AbcA2d m_vMax; | 15 AbcA2d m_vMax; |
16 public: | 16 public: |
17 AbcExtent2d(const AbcA2d & rMin, const AbcA2d & rMax); | 17 AbcExtent2d(const AbcA2d & rMin, const AbcA2d & rMax); |
18 AbcA2d ClampPoint2d(const AbcA2d & rPoint) const; | 18 AbcA2d ClampPoint2d(const AbcA2d & rPoint) const; |
19 AbcA2d GetMax() const { return m_vMax; } | 19 AbcA2d GetMax() const { return m_vMax; } |
20 AbcA2d GetMin() const { } | 20 AbcA2d GetMin() const { return AbcA2d(); } |
21 AbcA2d Evaluate(double dNormalizedX, double dNormalizedY) const; | 21 AbcA2d Evaluate(double dNormalizedX, double dNormalizedY) const; |
22 }; | 22 }; |
23 inline AbcExtent2d::AbcExtent2d(const AbcA2d & rMin, const AbcA2d & rMax) | 23 inline AbcExtent2d::AbcExtent2d(const AbcA2d & rMin, const AbcA2d & rMax) |
24 { | 24 { |
25 if (rMin.x > rMax.x || rMin.y > rMax.y) | 25 if (rMin.x > rMax.x || rMin.y > rMax.y) |
67 double dT = i / (10 -1.0); | 67 double dT = i / (10 -1.0); |
68 AbcA2d sUV = sUVIso.Evaluate(dT,dT); | 68 AbcA2d sUV = sUVIso.Evaluate(dT,dT); |
69 if (!DoesPointLieOnAbcde(sUV,0)) | 69 if (!DoesPointLieOnAbcde(sUV,0)) |
70 ; | 70 ; |
71 } | 71 } |
72 | |
73 return 0; | |
72 } | 74 } |
73 | 75 |