Hi
At 0 dbar, gsw_t_freezing yields a large negative in situ freezing temperature anomaly in a specific range of large absolute salinity (SA):
SA <- seq(762.5, 765.5, l=100) # g/kg
tf <- gsw::gsw_t_freezing(SA=SA, p=0) # °C
plot(SA, tf)

At 1000 dbar, this anomaly shifts to larger SA:

I am aware that these salinity ranges have nothing to do with real oceanography but I was wondering if this is a bug in the function or not.
Thanks and cheers,
Chris
packageDescription("gsw")
Version: 1.0-6
Date/Publication: 2021-07-07 17:30:02 UTC
Built: R 4.1.1; x86_64-pc-linux-gnu; 2021-11-01 15:06:00 UTC; unix