Changeset 67 for trunk/IPs/systemC/processor/Morpheo/Common
- Timestamp:
- Dec 6, 2007, 8:57:49 PM (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/IPs/systemC/processor/Morpheo/Common/include/Log2.h
r63 r67 20 20 } 21 21 22 inline bool is_log2 (uint32_t value) 23 { 24 return (value == static_cast<uint32_t>((1<<(morpheo::log2(value))))); 25 } 26 22 27 }; // end namespace morpheo 23 28
Note: See TracChangeset
for help on using the changeset viewer.