# Purpose
DCOT(X) calculates the double precision trigonometric cotangent for double precision argument X. X is in units of radians. Series for COT on the interval 0. to 6.25000E-02 with weighted error 5.52E-34 log weighted error 33.26 significant figures required 32.34 decimal places required 33.85
# Description
This canonical unsafe binding exposes original SLATEC routine `DCOT`. Its documented behavior is taken from the selected, source-hash-verified provider prologue; the exact implementation source is [DCOT](https://www.netlib.org/slatec/fnlib/dcot.f).
# Arguments
## `X`
**Direction:** `input`. **Fortran type:** `DOUBLE PRECISION`. **Rust ABI type:** `*mut f64`. **Shape:** scalar.
Input value at which the source-defined function is evaluated: Compute the cotangent
# Return value
This Fortran function returns its scalar result using the compiler-validated ABI fingerprint `function:f64(mut_f64)`. It has no separate Rust `Result` status channel.
# ABI notes
- Canonical Rust path: `slatec_sys::special::dcot`
- Original SLATEC routine: `DCOT`
- Native symbol: `dcot_`
- ABI fingerprint: `function:f64(mut_f64)`
- Exact Netlib source file: [DCOT](https://www.netlib.org/slatec/fnlib/dcot.f)
# Safety
Every raw pointer must be non-null unless this argument contract expressly permits null, correctly aligned, and valid for its documented readable or writable extent. Preserve Fortran column-major layout, length, leading-dimension, workspace, callback-lifetime, aliasing, and provider-runtime requirements. The native routine does not retain ordinary argument pointers beyond this call.