* Show more info on hover for variables Signed-off-by: Nick Cameron <nrc@ncameron.org> * Move hover impls to lsp module Signed-off-by: Nick Cameron <nrc@ncameron.org> * Make hover work on names inside calls, fix doc line breaking, trim docs in tool tips Signed-off-by: Nick Cameron <nrc@ncameron.org> * Test the new hovers; fix signature syntax Signed-off-by: Nick Cameron <nrc@ncameron.org> * Hover tips for kwargs Signed-off-by: Nick Cameron <nrc@ncameron.org> --------- Signed-off-by: Nick Cameron <nrc@ncameron.org>
75 KiB
75 KiB
title, excerpt, layout
| title | excerpt | layout |
|---|---|---|
| log10 | Compute the base 10 logarithm of the number. | manual |
Compute the base 10 logarithm of the number.
log10(num: number): number
Tags
math
Arguments
| Name | Type | Description | Required |
|---|---|---|---|
num |
number |
Yes |
Returns
number
Examples
exampleSketch = startSketchOn("XZ")
|> startProfileAt([0, 0], %)
|> line(end = [log10(100), 0])
|> line(end = [5, 8])
|> line(end = [-10, 0])
|> close()
example = extrude(exampleSketch, length = 5)