pike.git/
src/
stralloc.c
Branch:
Tag:
Non-build tags
All tags
No tags
2016-01-14
2016-01-14 22:04:17 by Martin Nilsson <nilsson@fastmail.com>
7b2da439bf2e376eb787b7d90d6643728209c360 (
3
lines) (+
2
/-
1
)
[
Show
|
Annotate
]
Branch:
8.1
Simplified MAKE_INF and MAKE_NAN. Hopefully not too much.
3160:
} else if (flags & APPEND_POSITIVE) { string_builder_putchar(s, '+'); }
-
if ((
val+val ==
val)
&& (val > 0.0
)
)
{
+
if (
PIKE_ISINF
(val)) {
/* Infinity */ string_builder_strcat(s, "inf"); break;