Changeset d3e4d6c for src/prelude/builtins.c
- Timestamp:
- Aug 23, 2017, 6:22:07 PM (8 years ago)
- Branches:
- ADT, aaron-thesis, arm-eh, ast-experimental, cleanup-dtors, deferred_resn, demangler, enum, forall-pointer-decay, jacob/cs343-translation, jenkins-sandbox, master, new-ast, new-ast-unique-expr, new-env, no_list, persistent-indexer, pthread-emulation, qualifiedEnum, resolv-new, with_gc
- Children:
- 87e08e24, cb811ac
- Parents:
- 9f07232 (diff), bd37119 (diff)
Note: this is a merge changeset, the changes displayed below correspond to the merge itself.
Use the(diff)
links above to see all the changes relative to each parent. - File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
src/prelude/builtins.c
r9f07232 rd3e4d6c 80 80 } // ?\? 81 81 82 static inline forall( otype T | { void ?{}( T *this, one_t ); T ?*?( T, T ); double ?/?( double, T ); } )82 static inline forall( otype T | { void ?{}( T & this, one_t ); T ?*?( T, T ); double ?/?( double, T ); } ) 83 83 double ?\?( T x, signed long int y ) { 84 84 if ( y >= 0 ) return (double)(x \ (unsigned long int)y); … … 86 86 } // ?\? 87 87 88 static inline long int ?\=?( long int * x, unsigned long int y ) { *x = *x \ y; return *x; }89 static inline unsigned long int ?\=?( unsigned long int * x, unsigned long int y ) { *x = *x \ y; return *x; }90 static inline int ?\=?( int * x, unsigned long int y ) { *x = *x \ y; return *x; }91 static inline unsigned int ?\=?( unsigned int * x, unsigned long int y ) { *x = *x \ y; return *x; }88 static inline long int ?\=?( long int & x, unsigned long int y ) { x = x \ y; return x; } 89 static inline unsigned long int ?\=?( unsigned long int & x, unsigned long int y ) { x = x \ y; return x; } 90 static inline int ?\=?( int & x, unsigned long int y ) { x = x \ y; return x; } 91 static inline unsigned int ?\=?( unsigned int & x, unsigned long int y ) { x = x \ y; return x; } 92 92 93 93 // Local Variables: //
Note:
See TracChangeset
for help on using the changeset viewer.