fix min/max for float numbers (#12068)
This commit is contained in:
parent
ad82e65387
commit
3d4ad9739c
8 changed files with 30 additions and 36 deletions
|
|
@ -35,8 +35,8 @@ const
|
|||
someMul = {mMulI, mMulF64}
|
||||
someDiv = {mDivI, mDivF64}
|
||||
someMod = {mModI}
|
||||
someMax = {mMaxI, mMaxF64}
|
||||
someMin = {mMinI, mMinF64}
|
||||
someMax = {mMaxI}
|
||||
someMin = {mMinI}
|
||||
someBinaryOp = someAdd+someSub+someMul+someMax+someMin
|
||||
|
||||
proc isValue(n: PNode): bool = n.kind in {nkCharLit..nkNilLit}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue