Next: Strings, Previous: Introduction, Up: Top [Contents]
Often one is faced with dealing with sets, or ranges of numbers. They can be a pain to parse, as well as to iterate over.
The rangel
family of routines work on ranges of integers.
Parsing of the ranges is done with rangel_parse
. Iterating
through them is done with rangel_next
and rangel_reset
.
There are several routines for manipulating the minimum and maximum
range values.
The rangef
routines work on ranges of real numbers. Parsing
of range specifications is done with rangef_parse
. To
determine if a real is within a range list, use rangef_in
.
Errors are handled via range_perror
.
• rangef_parse: | ||
• range_perror: | ||
• rangef_del: | ||
• rangef_in: | ||
• rangef_new: | ||
• rangel_parse: | ||
• rangel_count: | ||
• rangel_del: | ||
• rangel_dump: | ||
• rangel_new: | ||
• rangel_next: | ||
• rangel_minmax: | ||
• rangel_rep_maxval: | ||
• rangel_rep_minval: | ||
• rangel_rep_val: | ||
• rangel_reset: |