Changes in libcfa/prelude/builtins.c [dbe8e31c:cf5af9c]
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
libcfa/prelude/builtins.c
rdbe8e31c rcf5af9c 10 10 // Created On : Fri Jul 21 16:21:03 2017 11 11 // Last Modified By : Peter A. Buhr 12 // Last Modified On : Sun Jul 12 10:40:57202013 // Update Count : 10 712 // Last Modified On : Mon Jul 13 21:10:02 2020 13 // Update Count : 109 14 14 // 15 15 … … 95 95 static inline forall( dtype DT ) DT * intptr( uintptr_t addr ) { return (DT *)addr; } 96 96 97 #if __SIZEOF_POINTER__ == 8 // 64-bit mode97 #if defined(__SIZEOF_INT128__) 98 98 // constructor for 128-bit numbers (all constants are unsigned as +/- are operators) 99 99 static inline void ?{}( unsigned int128 & this, unsigned long int h, unsigned long int l ) { 100 100 this = (unsigned int128)h << 64 | (unsigned int128)l; 101 101 } // ?{} 102 #endif // 64-bit mode102 #endif // __SIZEOF_INT128__ 103 103 104 104 // exponentiation operator implementation
Note: See TracChangeset
for help on using the changeset viewer.