Author Topic: Is AutoCAD LYING to me about start/end points?  (Read 7117 times)

0 Members and 1 Guest are viewing this topic.

ArgV

  • Guest
Re: Is AutoCAD LYING to me about start/end points?
« Reply #15 on: September 16, 2009, 08:38:06 PM »

If I see a decimal like that, AND an "e" do I just assume that it's some value that is very close to zero? :)


If the number after the "e" is above 0, then the number is very big, is the number after the "e" is below 0,then the actual number is very small (tendingtowards zero)



Perfect. Thats what I was basically wondering.. is this number HUGE or small? OK, so this number is very small. cool.


ArgV

  • Guest
Re: Is AutoCAD LYING to me about start/end points?
« Reply #16 on: September 16, 2009, 08:39:42 PM »
See this GCSE site, its Standard Form you want to learn  :-)

http://www.mathsrevision.net/gcse/pages.php?page=43

Cool. I only browsed through it cause my head hurts. I didn't see anything with the "e" exponent anywhere, but it looks like a good site to have on my favorites for some other stuff. thank you!


Kerry

  • Mesozoic relic
  • Seagull
  • Posts: 11654
  • class keyThumper<T>:ILazy<T>
Re: Is AutoCAD LYING to me about start/end points?
« Reply #17 on: September 16, 2009, 09:36:54 PM »

rushed .. lunchtime ..

see if this gives you some ideas

Code: [Select]
(setq testpoint1 (list 0 3e-12 0)
      TestPoint2 (list 0 0.5 0)
)

(Setq Point1TestedForZezo (mapcar (function(lambda(x)  (if (equal x 0 1e-8) 0 x))) TestPoint1) )
(Setq Point2TestedForZezo (mapcar (function(lambda(x)  (if (equal x 0 1e-8) 0 x))) TestPoint2) )

/// kdub

Ok, I'll have to get back to that. mY brain is fried from work. I don't even want to think about thinking. :) Thank you for you help!


Sure, but based on your question :
Quote
Well, now I gotta see what happens if I change ALL those numbers to zero. Does it make a difference? I mean, I don't think it'll screw it up, but I gotta make sure.
.. you may find your answer in the grocking of that code.

kdub, kdub_nz in other timelines.
Perfection is not optional.
Everything will work just as you expect it to, unless your expectations are incorrect.
Discipline: None at all.

Lee Mac

  • Seagull
  • Posts: 12923
  • London, England
Re: Is AutoCAD LYING to me about start/end points?
« Reply #18 on: September 17, 2009, 05:38:28 AM »
See this GCSE site, its Standard Form you want to learn  :-)

http://www.mathsrevision.net/gcse/pages.php?page=43

Cool. I only browsed through it cause my head hurts. I didn't see anything with the "e" exponent anywhere, but it looks like a good site to have on my favorites for some other stuff. thank you!



The e is standard notation to replace the "x 10y"

See here:

http://www.gcse.com/maths/writing_standard_form.htm
« Last Edit: September 17, 2009, 06:02:18 AM by Lee Mac »