This blocks computes the output y as the base 10 logarithm of the input u if u>1 or 0 otherwise
y = if(u>1) log10( u ) else 0;