From 9db0f408a19401062c68c9b123aa150425f33e26 Mon Sep 17 00:00:00 2001 From: Taylor R Campbell Date: Fri, 30 Nov 2018 08:50:19 +0000 Subject: [PATCH] Note copysign procedure. --- src/relnotes/arith | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/relnotes/arith b/src/relnotes/arith index 20e36b040..b736ec103 100644 --- a/src/relnotes/arith +++ b/src/relnotes/arith @@ -16,3 +16,5 @@ New procedures: . (logistic-1/2 x) = (- (logistic x) 1/2), inverse of logit1/2+ . (logsumexp (list x y z ...)) = log (e^x + e^y + e^z + ...), guaranteed not to overflow or underflow +. (copysign m s) returns a real number with the magnitude of m and + the sign of s. -- 2.25.1