I have one project due on this sunday....please help me with this.....any clues hints would be highly appreciated.....thanks a ton
This project will require you to develop three C functions:
float nandFloatMul(float a, float b) float nandFloatAdd(float a, float b) float nandFloatSub(float a, float b)
Each of the above functions takes as input two float operands and returns their product, sum, and difference, respectively, as a float.
You must also implement the following “helper” functions:
int boolNand(int i, int j)
int bitWiseNand(int i, int j)
Notes: 1. boolNand() returns zero if and only if both inputs are not zero. 2. bitWiseNand() returns the bit-wise nand of the inputs. 3. You may implement versions of boolNand() and bitWiseNand() in any,
or all, integral C data types. Requirements:
1. In implementing your nandFloat*() functions, you may only use: (a) boolNand(), (b) bitWiseNand(), (c) the C assignment (=) operator, and (d) the C shifting operators (<< and >>).