Question multiplication by 0 

Forum: Com Sci 12500, U Chicago, Autumn 2002, Discuss Classwork
Re: News Project Step #2, deadline Wednesday 13 November (Mike O'Donnell)
Date: 2002, Nov 13
From: Katie Edmonds <katie@uchicago.edu>

Unless I'm mistaken, to determine the required precisions for multiplication, exponentiation, and division, we need to use fractional precisions that have the xreals in the denominators, so we should have problems multiplying by xreals representing 0.

In particular, I don't see how we could find a precision for multiplication by (rational->xreal 0). We can never reach an adequate precision. So perhaps we should test for a numerator or multiplier being 0, so that we can declare the quotient or product 0, without computing precisions. However, if we use the method of dividing the precision by 2 until we determine that it is 0, we will compute forever before reaching 0. Are there better ways to home in on the value?


Messages

1. Note I think... by Benedict Singer, 2002, Nov 13
2. Feedback 0 is a minor problem as an interval endpoint, a real problem as a real divisor by Mike O'Donnell, 2002, Nov 13
1. Feedback ratintvls and xreals by Mark Kittisopikul, 2002, Nov 13
1. Feedback Definetly Works by Benedict Singer, 2002, Nov 13
2. Feedback Division by 0 can come up in the precision calculation by Mike O'Donnell, 2002, Nov 13

to: "multiplication by 0"