mirror of
https://github.com/microsoft/PowerToys.git
synced 2024-12-14 11:39:16 +08:00
Merge pull request #903 from jondaniels/calc_fix2
added sqrt as calculator keyword too
This commit is contained in:
commit
b19033aa4f
@ -10,7 +10,7 @@ namespace Wox.Plugin.Caculator
|
|||||||
{
|
{
|
||||||
private static Regex regValidExpressChar = new Regex(
|
private static Regex regValidExpressChar = new Regex(
|
||||||
@"^(" +
|
@"^(" +
|
||||||
@"ceil|floor|exp|pi|e|max|min|det|abs|log|ln" +
|
@"ceil|floor|exp|pi|e|max|min|det|abs|log|ln|sqrt" +
|
||||||
@"sin|cos|tan|arcsin|arccos|arctan|" +
|
@"sin|cos|tan|arcsin|arccos|arctan|" +
|
||||||
@"eigval|eigvec|eig|sum|polar|plot|round|sort|real|zeta|" +
|
@"eigval|eigvec|eig|sum|polar|plot|round|sort|real|zeta|" +
|
||||||
@"bin2dec|hex2dec|oct2dec|" +
|
@"bin2dec|hex2dec|oct2dec|" +
|
||||||
|
Loading…
Reference in New Issue
Block a user