Skip to content

Commit f6fd70a

Browse files
glennslcristianoc
authored andcommitted
docs: power_float -> pow_float in pow_int deprecation message
1 parent b0fbc77 commit f6fd70a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

jscomp/others/js_math.ml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -496,7 +496,7 @@ external minMany_float : float array -> float = "min" [@@bs.val] [@@bs.splice] [
496496
```
497497
*)
498498
external pow_int : base:int -> exp:int -> int = "pow" [@@bs.val] [@@bs.scope "Math"]
499-
[@@deprecated "use `power_float` instead, the return type may be not int"]
499+
[@@deprecated "use `pow_float` instead, the return type may be not int"]
500500

501501
(**
502502
Raises the given base to the given exponent. (Arguments and result are

0 commit comments

Comments
 (0)