| CIS 461/561 Home Page | Last updated 2002/10/02 22:57:13 |
"A floating constant consists of an integer part, a decimal point, a fraction part, an e or E, and an optionally signed integer exponent. Either the integer part or the fraction part (not both) may be missing; either the decimal point or the e and the exponent (not both) may be missing."Can you diagram a DFA to recognize a floating point constant? Can you specify a regular expression to recognize a floating point constant?