Email or username:

Password:

Forgot your password?
Top-level
Devil Lu Linvega

@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.

wiki.xxiivv.com/site/cccc.html

3 comments
TsRoe

@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?

Devil Lu Linvega

@TsRoe @eris the reduction of 4/6 is 2/3 yes, the special operator gives you the two whole numbers.

TsRoe

@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.

Go Up