This is a follow-up to "A truly amazing way of making the number 2016":
For every positive integer $n$, find a mathematical expression that yields the value $n$ while obeying the following rules:
- Each of the digits $1,2,3,4,5,6,7,8,9$ is used exactly once
- Decimal points are allowed
- You may use brackets "(" and ")" to structure your expression, and to make it well-defined
- The only allowed mathematical operations are addition (+), subtraction (-), multiplication (*), division (/); the minus sign may also be used as the sign of a negative number.
- The only allowed mathematical functions are square-roots and logarithms. Logarithms must be written in the form $\log[b](x)$ to denote the base-$b$ logarithm of number $x$
Note that in particular the following is not allowed:
- Juxtaposition of digits (as juxtaposing 1 and 3 to get "31")
- using the digit 0, or using non-decimal digits
- other mathematical operations and functions (cube-roots, exponentiation, factorials, absolute values, trigonometric functions, etc)
- integration, differentiation, limits, matrices, and determinants
- rounding up, rounding down, rounding to the nearest integer