mirror of
https://github.com/c3lang/c3c.git
synced 2026-02-27 12:01:16 +00:00
Incorrect check for sqrt.
This commit is contained in:
@@ -234,7 +234,7 @@ macro sinh(x) = (exp(x) - exp(-x)) / 2.0;
|
||||
macro sqr(x) = x * x;
|
||||
|
||||
/**
|
||||
* @require values::is_floatlike(x) `The input must be a floating point value or float vector`
|
||||
* @require values::@is_floatlike(x) `The input must be a floating point value or float vector`
|
||||
**/
|
||||
macro sqrt(x) = $$sqrt(x);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user