Atomic logdet