Skip to content

Instantly share code, notes, and snippets.

@ttvd
Created August 10, 2013 18:53
Show Gist options
  • Save ttvd/6201663 to your computer and use it in GitHub Desktop.
Save ttvd/6201663 to your computer and use it in GitHub Desktop.
NV_gpu_program4 - Apple ARB compiler issue.
The <float> rule matches a floating-point constant consisting of an
integer part, a decimal point, a fraction part, an "e" or "E", and an
optionally signed integer exponent. The integer and fraction parts both
consist of a sequence of one or more digits ("0" through "9"). Either the
integer part or the fraction parts (not both) may be missing; either the
decimal point or the "e" (or "E") and the exponent (not both) may be
missing. Most grammar rules that allow floating-point values also allow
integers matching the <int> rule.
Apple ARB compiler will reject 1.E+05 even though this seems valid judging from above description?
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment