Allowing to assign double values to array offsets