A Logarithmic Floating-Point Multiplier for the Efficient Training of Neural Networks