elenorcoli opened this issue on Nov 04, 2006 · 6 posts
elenorcoli posted Sat, 04 November 2006 at 5:59 PM
valueOpDeltaAdd
Figure 1
BODY:1
SuperHero
deltaAddDelta 1.000000
indexes 403
numbDeltas 807
deltas
{
d 1 -3.49991e-005 0 -2.00048e-006 <----see what is that about?
d 2 -0.000257999 0 0
d 3 -0.000151999 0 -0.000120997
d 4 -0.000927001 0 -0.000723001
d 5 -0.000351999 0 -0.000470001
d
that's a tiny chunk from p4 nude man. why is it throwing an e in with these numbers?
gracias
akanwa posted Sat, 04 November 2006 at 6:07 PM
It looks like scientific notation. Saves space over writing the two numbers as -0.0000349991 and -0.00000200048 respectively. Just saves having to write out a lot of zeros for very large or very small numbers.
elenorcoli posted Sat, 04 November 2006 at 7:51 PM
ahh yes excellent observation
kuroyume0161 posted Sat, 04 November 2006 at 8:52 PM
Exactly. That is scientific notation. It is an acceptable format used by, for instance, C/C++/Java for text-based notation of floating point numbers. The 'e' stands for 'exponential notation', as in:
-2.000048x10^-006
'e' replaces the (x10^) notation.
C makes it easy to shoot yourself in the
foot. C++ makes it harder, but when you do, you blow your whole leg
off.
-- Bjarne
Stroustrup
Contact Me | Kuroyume's DevelopmentZone
bagginsbill posted Mon, 06 November 2006 at 8:34 AM
Nobody notes the irony that -0.0000349991 and -3.49991e-005 are exactly the same number of characters? Chuckle. I'm a programmer so this is funny to me. Sorry.
Renderosity forum reply notifications are wonky. If I read a follow-up in a thread, but I don't myself reply, then notifications no longer happen AT ALL on that thread. So if I seem to be ignoring a question, that's why. (Updated September 23, 2019)
kuroyume0161 posted Mon, 06 November 2006 at 1:21 PM
So much for saving space, huh? ;)
C makes it easy to shoot yourself in the
foot. C++ makes it harder, but when you do, you blow your whole leg
off.
-- Bjarne
Stroustrup
Contact Me | Kuroyume's DevelopmentZone