It is not so much what I mean, as what the Principles of Operations means. "The sign of the product is determined by the rules of algebra from the multiplier and multiplicand signs, even if one or both operands are zeros."
It is the old "two negatives make a positive, two positives make a positive, positive and negative make a negative" that you learned at school just to know the sign of the result. There is no reference to zero in the "rules of algebra" as remembered from around 45 years ago, we should have asked at the time. Perhaps a bit of code on the chip to say "negative zero, I'm not having that, become positive" would be pointless overhead? Divide says, in a note on an example, "Because the dividend and divisor have different signs, the quotient receives a negative sign." Addition and subtraction have no such rule, so zero is just (positive) zero out of those. So, Enterprise COBOL is wont at add a "ZAP-to-itself" when there is a danger that a result field (from calculation or truncation) may have produced a negative zero. ---------------------------------------------------------------------- For IBM-MAIN subscribe / signoff / archive access instructions, send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN