19b85656d8
*: use generics to improve Clamp ( #34586 )
...
close pingcap/tidb#34588
2022-05-13 17:28:35 +08:00
f88dab92f9
util: use generics to implement max/min ( #34197 )
...
close pingcap/tidb#34247
2022-05-06 10:08:57 +08:00
4755a9b9ef
util: revert util/mathutil ( #14744 )
2020-02-13 11:33:04 +08:00
8e88825f55
Tidy build constraints in mathutil ( #14257 )
...
- Rename *_js.go to *_wasm.go to satisfy both wasm/js and wasm/wasi
- Use +build instruction instead of *_GOOS pattern to reduce file
Signed-off-by: lucklove <gnu.crazier@gmail.com >
2019-12-26 21:11:13 +08:00
db97ad9a03
util: fix compile on windows caused by wasm support ( #14183 )
2019-12-23 16:04:40 +08:00
8cbacf0d7c
wasm: fix compile error for wasm ( #14160 )
...
Signed-off-by: 5kbpers <tangminghua@pingcap.com >
2019-12-23 15:17:46 +08:00