# \#geometry

**URL:** https://forums.swift.org/tag/geometry/793.md

[Latest](https://forums.swift.org/latest.md) · [Categories](https://forums.swift.org/categories.md) · [Tags](https://forums.swift.org/tags.md)

---

## [Determinants seem to be wrong with simd\_double4x4.determinant](https://forums.swift.org/t/determinants-seem-to-be-wrong-with-simd-double4x4-determinant/63366)

<div class="topic-metadata">

**Author:** [@kunitsyn](https://forums.swift.org/u/kunitsyn)\
**Replies:** 19\
**Last updated:** [September 29, 2023, 2:48pm UTC](https://forums.swift.org/t/determinants-seem-to-be-wrong-with-simd-double4x4-determinant/63366 "2023-09-29T14:48:09Z")

</div>

I've been trying to do some 3D geometry things from this paper in Swift. Long story short, this requires calculating signs of determinants of 4x4 double-precision matrices. I've tried using simd\_double4x4.determinant for…
