finished sign for dense matrices and scalars