/ Get the tiny value represented by the Strp string. */ /
| 1271 | /* Get the tiny value represented by the Strp string. */ |
| 1272 | /***********************************************************************/ |
| 1273 | char TYPVAL<PSZ>::GetTinyValue(void) |
| 1274 | { |
| 1275 | bool m; |
| 1276 | ulonglong val = CharToNumber(Strp, strlen(Strp), INT_MAX8, false, &m); |
| 1277 | |
| 1278 | return (m && val < INT_MAX8) ? (char)(-(signed)val) : (char)val; |
| 1279 | } // end of GetTinyValue |
| 1280 | |
| 1281 | /***********************************************************************/ |
| 1282 | /* Get the unsigned tiny value represented by the Strp string. */ |
no test coverage detected