|
@ -185,3 +185,9 @@ long long getlld(char *message, long long *min, long long *max) { |
|
|
LD(max) |
|
|
LD(max) |
|
|
return getNumber(message, minld, maxld, NULL, NULL, LLONG_MIN, LLONG_MAX); |
|
|
return getNumber(message, minld, maxld, NULL, NULL, LLONG_MIN, LLONG_MAX); |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
unsigned short gethu(char *message, unsigned short *min, unsigned short *max) { |
|
|
|
|
|
LD(min) |
|
|
|
|
|
LD(max) |
|
|
|
|
|
return getNumber(message, minld, maxld, NULL, NULL, 0, USHRT_MAX); |
|
|
|
|
|
} |