Question: 2 1. (10pt] Regular Expressions: Floating- and Fixed-point numbers Floating point numbers can be represented as strings in exponent form significand X base exponent where
![2 1. (10pt] Regular Expressions: Floating- and Fixed-point numbers Floating point](https://dsd5zvtm8ll6.cloudfront.net/si.experts.images/questions/2024/09/66f52cf8d1513_86466f52cf850d2c.jpg)
2 1. (10pt] Regular Expressions: Floating- and Fixed-point numbers Floating point numbers can be represented as strings in exponent form significand X base exponent where significand is an integer, base is an integer greater than or equal to two, and exponent is also an integer. Examples of floating point numbers in base 10: 345 x 10-1, -1983 x 10-2. A fixed-point number representation has a fixed number of digits after the decimal point ".". Examples of fixed point numbers with 3 digits after the decimal are: 23.987, 0.100. Provide a regular expression describing 1. [5pt] all floating point numbers in exponent form with base 10. 2. [5pt] all fixed point numbers greater than 2.2 with 2 digits after the decimal. 2 1. (10pt] Regular Expressions: Floating- and Fixed-point numbers Floating point numbers can be represented as strings in exponent form significand X base exponent where significand is an integer, base is an integer greater than or equal to two, and exponent is also an integer. Examples of floating point numbers in base 10: 345 x 10-1, -1983 x 10-2. A fixed-point number representation has a fixed number of digits after the decimal point ".". Examples of fixed point numbers with 3 digits after the decimal are: 23.987, 0.100. Provide a regular expression describing 1. [5pt] all floating point numbers in exponent form with base 10. 2. [5pt] all fixed point numbers greater than 2.2 with 2 digits after the decimal
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
