udunits/src/main/java/ucar/units/LogarithmicUnit.java
@Override
    protected Unit myRaiseTo(final int power) throws RaiseException {
        if (power == 0) {
            return DerivedUnitImpl.DIMENSIONLESS;
        }
        if (power == 1) {
            return this;
        }
        throw new RaiseException(this);
    }
@Override
    protected Unit myRaiseTo(final int power) throws RaiseException {
        if (power == 0) {
            return DerivedUnitImpl.DIMENSIONLESS;
        }
        if (power == 1) {
            return this;
        }
        throw new RaiseException(this);
    }
@ Override protected Unit myRaiseTo ( final int power ) throws RaiseException { if ( power == 0 ) { return DerivedUnitImpl . DIMENSIONLESS ; } if ( power == 1 ) { return this ; } throw new RaiseException ( this ) ; }
Raise this unit to a power.

@param power
The power to raise this unit by. The only meaningful values
are 0 and 1.
@return The result of raising this unit by the power <code>power</code>.
@throws RaiseException
Can't raise this unit to {@code power}, which is neither 0
nor 1.
Raise this unit to a power .