Re: [xslt] floor(), ceiling(), and round() functions and negativevalues
- From: Bjorn Reese <breese mail1 stofanet dk>
- To: xslt gnome org
- Subject: Re: [xslt] floor(), ceiling(), and round() functions and negativevalues
- Date: Sat, 15 Mar 2003 16:12:49 +0000
John Fleck wrote:
> Before we use up precious bandwidth on the arcane question of zero and
> negative zero, no less an authority than my daughter, Nora, points out
> that the notion of negative zero is silly. However, the folks who wrote
> the XPATH specification did not have the wisdom to consult Nora, so the
> specification includes negative zero.
The expression 1.0/round(-0.1) should result in negative infinity,
but will result in positive infinity without a negative zero. So,
the result is infinitely off the mark.
I bet Nora didn't think of that.
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]