@eris I've tried looking it up and I didn't find a name for it, in the docs I call it "yet unnamed operator", in the program I call it VID(mirror of DIV). I'd love to find the proper name for it, lemme know if you ever hear of one.
Top-level
@eris I've tried looking it up and I didn't find a name for it, in the docs I call it "yet unnamed operator", in the program I call it VID(mirror of DIV). I'd love to find the proper name for it, lemme know if you ever hear of one. 3 comments
@neauoire @eris Right, I guess what I'm trying to say is, that if someone where to define reduction as a mathematical function, they would have to define it like your operator. Meaning it would need something like this signature: Q -> (N, N) and not this one: Q -> Q. Because if they would choose the latter and define it such that reduce(4/6) = 2/3, they would just define the identity function, because 4/6 = 2/3. |
@neauoire @eris Maybe I don't understand the operator correctly, but doesn't it just basically return the reduction of the given fraction?
4/6 would return 2 3 too, right?