Situation:
I have a pair real floating point numbers from (-∞, +∞) which I compare using relational operators ( <, >, <=,>=,==)
For the sake of being visually pleasing, I need to find a way to represent these number scaled down to [-100,+100]
I cant do modulus division because if the numbers are say (1001, 1) the (mod 100) of each number would be 1. Which does me no good relationally
Regular Division doesn't work either...
Can someone help me figure this out? Thanks!
I have a pair real floating point numbers from (-∞, +∞) which I compare using relational operators ( <, >, <=,>=,==)
For the sake of being visually pleasing, I need to find a way to represent these number scaled down to [-100,+100]
I cant do modulus division because if the numbers are say (1001, 1) the (mod 100) of each number would be 1. Which does me no good relationally
Regular Division doesn't work either...
Can someone help me figure this out? Thanks!