Search the web
Sign In
New User? Sign Up
frink
? Already a member? Sign in to Yahoo!

Yahoo! Groups Tips

Did you know...
Show off your group to the world. Share a photo of your group with us.

Best of Y! Groups

   Check them out and nominate your group.
Having problems with message search? Fill out this form to ensure your group is one of the first to be migrated to the new message search system.

Messages

  Messages Help
Advanced
Frink single interval question   Message List  
Reply | Forward Message #242 of 257 |
Consider this frink program:

x = new interval[-1,1]
y = new interval[-1,1]
println[x-y]
println[x-x]

The results are:

[-2, 2]
[-2, 2]

The first one makes sense: subtracting a number between -1 and 1 from
another number between -1 and 1 yields a number between -2 and 2.

Is the second one correct? Subtracting a number between -1 and 1 from
itself should yield 0, no? Thus, the second answer should be [0,0],
no?

--
We're just a Bunch Of Regular Guys, a collective group that's trying
to understand and assimilate technology. We feel that resistance to
new ideas and technology is unwise and ultimately futile.



Sun Aug 2, 2009 11:31 pm

kelly.terry.jones@...
Send Email Send Email

Forward
Message #242 of 257 |
Expand Messages Author Sort by Date

Consider this frink program: x = new interval[-1,1] y = new interval[-1,1] println[x-y] println[x-x] The results are: [-2, 2] [-2, 2] The first one makes...
Kelly Jones
kelly.terry.jones@...
Send Email
Aug 4, 2009
5:21 am

... Kelly, This is addressed (in some detail) in the FAQ: http://futureboy.us/frinkdocs/faq.html#WhenXIsAnInterval Please note again that there have been...
Alan Eliasen
aeliasen
Offline Send Email
Aug 4, 2009
7:15 am

... When thinking about this issue, I noticed that x-x can be simplified a bit more aggressively than it was before; the current (2009-08-04) release of Frink...
Alan Eliasen
aeliasen
Offline Send Email
Aug 4, 2009
7:48 am

... This change turned out to be overly aggressive, and the changes were removed. If you downloaded Frink earlier today, I'd recommend getting the current...
Alan Eliasen
aeliasen
Offline Send Email
Aug 4, 2009
11:09 pm
Advanced

Copyright © 2009 Yahoo! Inc. All rights reserved.
Privacy Policy - Terms of Service - Guidelines - Help