Search found 3 matches
- Mon Mar 08, 2010 5:25 pm
 - Forum: newLISP in the real world
 - Topic: "truncated to their floor value" ?!
 - Replies: 7
 - Views: 4533
 
Re: "truncated to their floor value" ?!
I just want to say it's nice to see such a friendly and responsive forum. I will have to read and experiment a lot with newlisp before I can hope to be of any help to other beginners.
					- Sat Mar 06, 2010 11:03 am
 - Forum: newLISP in the real world
 - Topic: "truncated to their floor value" ?!
 - Replies: 7
 - Views: 4533
 
Re: "truncated to their floor value" ?!
I concur. But truncating to the integer part (or rounding towards zero) is a very funny thing to do in a mathematical sense. For instance, It means if you plot the function, you see an irregular section of the plot around zero. This irregularity can be the source of strange bugs if you are not const...
					- Sat Mar 06, 2010 2:50 am
 - Forum: newLISP in the real world
 - Topic: "truncated to their floor value" ?!
 - Replies: 7
 - Views: 4533
 
"truncated to their floor value" ?!
Hi!
The newlisp manual says:
Is it just me or is this a bug or a typo in the manual?
					The newlisp manual says:
Since for instance the floor of -1.1 is -2 I would take this to mean (+ -1.1 -2.2) should equal -5, not -3.Floating point values in arguments to +, -, *, /, and % are truncated to their floor value.
Is it just me or is this a bug or a typo in the manual?