Changeset d131480
- Timestamp:
 - Dec 3, 2019, 10:05:47 PM (6 years ago)
 - Branches:
 - ADT, arm-eh, ast-experimental, enum, forall-pointer-decay, jacob/cs343-translation, master, new-ast-unique-expr, pthread-emulation, qualifiedEnum
 - Children:
 - 2444324
 - Parents:
 - 0dedf756
 - File:
 - 
      
- 1 edited
 
- 
          
  libcfa/src/vec/vec2.hfa (modified) (2 diffs)
 
 
Legend:
- Unmodified
 - Added
 - Removed
 
- 
      
libcfa/src/vec/vec2.hfa
r0dedf756 rd131480 38 38 // int 39 39 int ?=?(int& n, zero_t) { return n = 0.f; } 40 int sqrt(int a) { return sqrt((float)a); }41 40 /* float */ 42 41 void ?{}(float& a, int b) { a = b; } … … 216 215 } 217 216 218 forall(dtype ostype, otype T | writeable(T, ostype) | vec2_t(T)) {217 forall(dtype ostype, otype T | writeable(T, ostype)) { 219 218 ostype & ?|?( ostype & os, vec2(T) v) with (v) { 220 219 return os | '<' | x | ',' | y | '>';  
  Note:
 See   TracChangeset
 for help on using the changeset viewer.