|
||||
File indexing completed on 2024-04-06 12:04:41
0001 #ifndef DataFormats_Math_constexpr_cmath_h 0002 #define DataFormats_Math_constexpr_cmath_h 0003 0004 #include <cstdint> 0005 0006 namespace reco { 0007 constexpr int32_t ceil(float num) { 0008 return (static_cast<float>(static_cast<int32_t>(num)) == num) ? static_cast<int32_t>(num) 0009 : static_cast<int32_t>(num) + ((num > 0) ? 1 : 0); 0010 } 0011 }; // namespace reco 0012 #endif
[ Source navigation ] | [ Diff markup ] | [ Identifier search ] | [ general search ] |
This page was automatically generated by the 2.2.1 LXR engine. The LXR team |