Chromium Code Reviews| OLD | NEW |
|---|---|
| (Empty) | |
| 1 // Copyright (c) 2013 The Chromium Authors. All rights reserved. | |
| 2 // Use of this source code is governed by a BSD-style license that can be | |
| 3 // found in the LICENSE file. | |
| 4 | |
| 5 #include "base/safe_numerics.h" | |
| 6 | |
| 7 namespace base { | |
| 8 namespace internal { | |
| 9 | |
| 10 void NoFloatingPoint { | |
| 11 IsValidNumericCast<float>(0.0); | |
| 12 IsValidNumericCast<double>(0.0f); | |
| 13 IsValidNumericCast<int>(DBL_MAX); | |
| 14 } | |
| 15 | |
| 16 } // namespace internal | |
| 17 } // namespace base | |
| OLD | NEW |