| 7404 | } |
| 7405 | |
| 7406 | PUGI__FN double round_nearest_nzero(double value) |
| 7407 | { |
| 7408 | // same as round_nearest, but returns -0 for [-0.5, -0] |
| 7409 | // ceil is used to differentiate between +0 and -0 (we return -0 for [-0.5, -0] and +0 for +0) |
| 7410 | return (value >= -0.5 && value <= 0) ? ceil(value) : floor(value + 0.5); |
| 7411 | } |
| 7412 | |
| 7413 | PUGI__FN const char_t* qualified_name(const xpath_node& node) |
| 7414 | { |
no test coverage detected