Ilya Gorbunov
34de2d9155
Trim trailing spaces in generated docs of builtins
2022-10-02 19:04:36 +00:00
Alexander Udalov
0d1380c232
Fix warnings in generator modules
2021-08-10 17:57:50 +02:00
Ilya Gorbunov
7e2c365b79
Generate docs for floorDiv and mod and improve docs for div and rem
...
Refactor operator documentation generation for primitives and unsigned
types so that it is easier to specialize it.
Manually sync docs of numeric types in js-ir stdlib.
KT-26234
2021-03-05 07:32:16 +03:00
Ilya Gorbunov
50d4979531
Floor division and remainder for numeric types KT-26234
...
- floorDiv/mod for unsigned types
- floorDiv/mod for signed types
- mod for floating point types
- mod return type: same as divisor for integer types
- Update JS API dump
- Avoid triggering division overflow in tests due to K/N
- Workaround failing test in JS-legacy
2021-03-05 07:32:16 +03:00
Abduqodiri Qurbonzoda
a0e2ca669b
Write docs for primitive types conversions
2019-03-13 13:14:37 +03:00
Abduqodiri Qurbonzoda
3af6b36401
Write docs for unsigned types conversions
2019-03-05 17:34:15 +03:00
Abduqodiri Qurbonzoda
1b6b44c805
Implement conversion between floating point numbers and unsigned integers
...
KT-27108
2019-02-25 21:58:03 +03:00
Ilya Gorbunov
0c50014e7a
Introduce SIZE_BYTES and SIZE_BITS constants for all integral types
...
#KT-8247 Fixed
2018-08-30 14:51:10 +03:00
Ilya Gorbunov
e01895fb0a
Implement unsigned/signed conversions
2018-05-22 22:26:47 +03:00
Ilya Gorbunov
188d8ab8dd
Generate unsigned integers declarations, mostly without implementations
...
Generate and/or/xor/inv for UByte/UShort using experimental signed counterparts
2018-05-22 22:26:24 +03:00
Ilya Gorbunov
7438d12ad7
Move builtins generators to their own source set
...
Make them depend on bootstrap stdlib.
This is to prevent recompiling the entire project when we need just to
generate builtins sources.
2018-04-28 17:38:13 +03:00