summaryrefslogtreecommitdiff
path: root/src/main/sequence.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/main/sequence.c')
-rw-r--r--src/main/sequence.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/main/sequence.c b/src/main/sequence.c
index ef69990..83f2b69 100644
--- a/src/main/sequence.c
+++ b/src/main/sequence.c
@@ -1,5 +1,5 @@
/*
- * "$Id: sequence.c,v 1.22 2006/07/07 21:31:02 rleigh Exp $"
+ * "$Id: sequence.c,v 1.23 2006/09/12 19:03:33 easysw Exp $"
*
* Sequence data type. This type is designed to be derived from by
* the curve and dither matrix types.
@@ -277,7 +277,7 @@ stp_sequence_set_point(stp_sequence_t *sequence, size_t where,
{
check_sequence(sequence);
- if (where >= sequence->size || ! finite(data) ||
+ if (where >= sequence->size || ! isfinite(data) ||
data < sequence->blo || data > sequence->bhi)
return 0;
@@ -378,7 +378,7 @@ stp_sequence_create_from_xmltree(stp_mxml_node_t *da)
child->value.text.string);
goto error;
}
- if (! finite(tmpval)
+ if (! isfinite(tmpval)
|| ( tmpval == 0 && errno == ERANGE )
|| tmpval < low
|| tmpval > high)
@@ -484,7 +484,7 @@ stp_sequence_set_##name##_data(stp_sequence_t *sequence, \
\
/* Validate the data before we commit to it. */ \
for (i = 0; i < count; i++) \
- if (! finite(data[i]) || \
+ if (! isfinite(data[i]) || \
data[i] < sequence->blo || \
data[i] > sequence->bhi) \
return 0; \