Vibro-chat.com

Wanted:



I want to use operator+ to overload the | symbol I am making a new math function to look like |: this will do a MORE operation which is as follows:

2|:7 =2222222 4|:5 =44444 3|:2 = 33

the actual code involves the BASE in this case 10 and multiple additions of the columns of digit value times the first input. So 12|:2 is actually 12+120 whereas 13|:4 would be 13 + 130 +1300 +13000. 

This is the more operator as defined in tiny.cc/openInvent1

 

I need this for Fractional Digit Representation like 3|:Infinity = 10/3 


 

openInvent

Powered by GroupSpaces · Terms · Privacy Policy · Cookie Use · Create Your Own Group