- Timestamp:
- Aug 31, 2021, 1:49:09 AM (3 years ago)
- Branches:
- ADT, ast-experimental, enum, forall-pointer-decay, jacob/cs343-translation, master, pthread-emulation, qualifiedEnum
- Children:
- ad8072c
- Parents:
- 716e4e6
- git-author:
- Jacob Prud'homme <jafprudhomme@…> (07/23/21 11:50:07)
- git-committer:
- Jacob Prud'homme <jafprudhomme@…> (08/31/21 01:49:09)
- Location:
- libcfa/src
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
libcfa/src/parseconfig.cfa
r716e4e6 rc58c65a 120 120 121 121 122 forall(T | arithmetic( T ))122 forall(T | Relational( T )) 123 123 bool is_nonnegative( T & value ) { 124 124 T zero_val = 0; … … 126 126 } 127 127 128 forall(T | arithmetic( T ))128 forall(T | Relational( T )) 129 129 bool is_positive( T & value ) { 130 130 T zero_val = 0; … … 132 132 } 133 133 134 forall(T | arithmetic( T ))134 forall(T | Relational( T )) 135 135 bool is_nonpositive( T & value ) { 136 136 T zero_val = 0; … … 138 138 } 139 139 140 forall(T | arithmetic( T ))140 forall(T | Relational( T )) 141 141 bool is_negative( T & value ) { 142 142 T zero_val = 0; -
libcfa/src/parseconfig.hfa
r716e4e6 rc58c65a 1 1 #pragma once 2 2 3 #include < rational.hfa>3 #include <math.trait.hfa> 4 4 5 5 … … 77 77 78 78 79 forall(T | arithmetic( T ))79 forall(T | Relational( T )) 80 80 bool is_nonnegative( T & ); 81 81 82 forall(T | arithmetic( T ))82 forall(T | Relational( T )) 83 83 bool is_positive( T & ); 84 84 85 forall(T | arithmetic( T ))85 forall(T | Relational( T )) 86 86 bool is_nonpositive( T & ); 87 87 88 forall(T | arithmetic( T ))88 forall(T | Relational( T )) 89 89 bool is_negative( T & ); 90 90
Note: See TracChangeset
for help on using the changeset viewer.