Basically, there's this website where I can create some custom calculation by describing a function based on certain variables. However, its computation is very limited and I can only use basic operators ($+, -, \times, \div$) and numerical constants ($0,1,2$, etc.). It's a restricted company website, so I can't share it.
I have four input variables $A,B,C,D$ within the range $(-\infty, \infty)$. I need to create a function $f$ (using only the operators above) that outputs $E=f(A,B,C,D)$ such that I will know what values of $E$ will make the condition, $$ A<B \text{ and } C<D $$ true. $E$ should be a single decimal number that I can compare (e.g. if $E>=0$, then the condition is True, else False).
Is it possible to create such a function $f$?
As noted above, the function $f$ can only be defined using the operators $+,-,\times,\div$, and numerical constants. You can also use parentheses. For example, $(A+B)/(C-8.99-D)$, $A/C+9$, $A/D/C$, and $A-(B-4-(D/C))+C$ are valid functions. You're not allowed to use any other operators: absolute value $|A|$, exponents, logs, mod (%), logic comparators (AND, OR, XOR, etc.), normal comparators (<, >, <=, >=), IF statements, WHILE loops, creating other functions, MAX/MIN functions, SQRT(), basically any other stuff.