vim-patch:fac9e33: runtime(doc): fix example output of cosh (#41609)

closes: vim/vim#21197

fac9e333a8

Co-authored-by: Eisuke Kawashima <e-kwsm@users.noreply.github.com>
This commit is contained in:
zeertzjq
2026-09-02 13:52:12 +08:00
committed by GitHub
parent 8e34903b6a
commit 90fc8946e8
3 changed files with 3 additions and 3 deletions

View File

@@ -1509,7 +1509,7 @@ cosh({expr}) *cosh()*
echo cosh(0.5)
< 1.127626 >vim
echo cosh(-0.5)
< -1.127626
< 1.127626
Parameters: ~
• {expr} (`number`)

View File

@@ -1317,7 +1317,7 @@ function vim.fn.cos(expr) end
--- echo cosh(0.5)
--- < 1.127626 >vim
--- echo cosh(-0.5)
--- < -1.127626
--- < 1.127626
---
--- @param expr number
--- @return number

View File

@@ -1693,7 +1693,7 @@ M.funcs = {
echo cosh(0.5)
< 1.127626 >vim
echo cosh(-0.5)
< -1.127626
< 1.127626
]=],
func_float = 'cosh',