<p dir="ltr">I think for precision, you would just drop the decimal point.  Otherwise you are saying the number is more precise.</p>
<div class="gmail_quote">On Mar 1, 2016 1:42 PM, "Joe D Williams" <<a href="mailto:joedwil@earthlink.net">joedwil@earthlink.net</a>> wrote:<br type="attribution"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
1.e2 converted to 1.0e2<br>
</blockquote></blockquote>
<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
In other words, it should be 1e2<br>
</blockquote>
<br>
shall be defined in standard:<br>
IS 1 EQ 1. EQ 1.0?<br>
n EQ n.0 for all n?<br>
nem EQ n.0em AND nem EQ n.0em.0 ... for all nandm?<br>
<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
concerned that will add one more digit of precision<br>
</blockquote>
<br>
could possibly be a problem with several real numbers depending upon digital representation<br>
<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
faithful rendering of the number ...<br>
</blockquote>
<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Thoughts?<br>
</blockquote>
<br>
For this individual special carefully considered case, if I understand it, then just write 1 with no decimal and no exponent, no matter the exponent.<br>
<br>
For all others, I think preferred and hopefully carefully specified as the desired form is:<br>
If no decimal then no problem or, if you place a decimal, then it needs to be followed with 0 or a number then no spaces then the e then a number. Overall, for the stuff before the e, if decimal then something; no decimal no problem.<br>
<br>
Great work to characterize and specify these important details for all known cases.<br>
<br>
Thanks,<br>
Joe<br>
<br>
<br>
<br>
<br>
<br>
----- Original Message ----- From: "John Carlson" <<a href="mailto:yottzumm@gmail.com" target="_blank">yottzumm@gmail.com</a>><br>
To: "Don Brutzman" <<a href="mailto:brutzman@nps.edu" target="_blank">brutzman@nps.edu</a>><br>
Cc: "X3D Graphics public mailing list" <<a href="mailto:x3d-public@web3d.org" target="_blank">x3d-public@web3d.org</a>><br>
Sent: Tuesday, March 01, 2016 9:28 AM<br>
Subject: Re: [x3d-public] summary of remaining JSON parse errors<br>
<br>
<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
I am a bit concerned that will add one more digit of precision, and will not be a faithful rendering of the number.  Thoughts?<br>
<br>
In other words, it should be 1e2<br>
<br>
John<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
On Mar 1, 2016, at 10:06 AM, Don Brutzman <<a href="mailto:brutzman@nps.edu" target="_blank">brutzman@nps.edu</a>> wrote:<br>
<br>
Last night's build went OK.<br>
<br>
Found and amended code block (template output-reals) to insert missing 0 after decimal point, before scientific notation (e.g. 1.e2 converted to 1.0e2).<br>
<br>
Marked ScriptSyntaxExample.x3d meta information as a test scene.<br>
<br>
Many of your error cases in log file were test scenes or archived backups, not working scenes.  I'll keep scrutinizing and pursuing problems in the list.<br>
<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
On 2/26/2016 2:18 PM, John Carlson wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Some number formatting issues (need digit after .)<br>
Escaping issues<br>
ContainerField naming or object attribute value braces missing.<br>
‘,’ value is missing.<br>
Bad source documents (not X3D).<br>
-metadata should be an array or a containerField.<br>
</blockquote></blockquote>
<br>
all the best, Don<br>
-- <br>
Don Brutzman  Naval Postgraduate School, Code USW/Br <a href="mailto:brutzman@nps.edu" target="_blank">brutzman@nps.edu</a><br>
Watkins 270,  MOVES Institute, Monterey CA 93943-5000 USA <a href="tel:%2B1.831.656.2149" value="+18316562149" target="_blank">+1.831.656.2149</a><br>
X3D graphics, virtual worlds, navy robotics <a href="http://faculty.nps.edu/brutzman" rel="noreferrer" target="_blank">http://faculty.nps.edu/brutzman</a><br>
</blockquote>
<br>
<br>
_______________________________________________<br>
x3d-public mailing list<br>
<a href="mailto:x3d-public@web3d.org" target="_blank">x3d-public@web3d.org</a><br>
<a href="http://web3d.org/mailman/listinfo/x3d-public_web3d.org" rel="noreferrer" target="_blank">http://web3d.org/mailman/listinfo/x3d-public_web3d.org</a><br>
<br>
</blockquote>
<br>
</blockquote></div>