%#codegen
function c = fi_dotdiv(a,b)
coder.inline('always');

if isfi(a) && isfi(b)
    a1 = fi(a, 'RoundMode', 'fix');
    b1 = fi(b, 'RoundMode', 'fix');
    c1 = divide(divideType(a1, b1),a1,b1);
    c = fi(c1, numerictype(c1), fimath(a));
else
    c = a ./ b;
end

end
