mirror of
https://github.com/apple/swift.git
synced 2025-12-21 12:14:44 +01:00
This allows automatic differentiation of concrete calls to math functions operating on `Double`. Such calls were not differentiable because the concrete math functions were imported from C, not the generic ones defined in Swift. The fix is to define derivatives for these C functions. `test/AutoDiff/stdlib/tgmath_derivatives.swift.gyb` was modified to test the new functions.
7.3 KiB
7.3 KiB