Feature #7: Exponentiation for Mobile Devices
Implement the "Exponentiation for Mobile Devices" feature for our "Language Compiler" project.
We'll cover the following
Description
Mobile phones are widely used in the whole world. They also provide basic functionalities, like calculators, to ease everyday tasks. However, most mobile devices do not provide all of the functionalities of a calculator, because their processor does not support them. This is where our compiler comes in. First, we will discuss one of those unsupported functions named exponentiation, which computes any integer number raised to a specific power. Then, we will implement compiler functionality that does exponentiation in software.
Let’s see the following illustration to understand what a power function does.
Level up your interview prep. Join Educative to access 80+ hands-on prep courses.