1
0
mirror of https://github.com/janet-lang/janet synced 2025-03-24 01:06:55 +00:00
Calvin Rose 872b39cc32 Add syntax literals for signed and unsigned 64 bit integers.
Number literals can now take an optional "representation" suffix

- Use `:n` for normal numbers (IEEE-754 doubles)
- Use `:s` for signed 64 bit integers
- Use `:u` for unsigned 64 bit integers
- Other suffix will fallthrough the usual parseing logic. This means
  that they will only possibly resolve to symbols if they start with -,
  +, or .

The syntax does not collide with any existing valid Janet and is only
enabled with JANET_INTTYPES. This also leaves open a syntax for other
number types such as bignums, ratios, decimals, etc.
2024-07-21 09:45:44 -05:00
..
2023-01-07 15:04:56 -06:00
2024-03-10 09:07:11 -05:00
2024-06-16 06:59:27 -07:00
2023-06-02 07:04:07 +09:00
2023-06-02 07:04:07 +09:00
2023-06-02 07:04:07 +09:00
2024-07-12 15:22:46 -05:00
2023-06-02 07:04:07 +09:00
2023-06-02 07:04:07 +09:00
2024-06-16 06:59:27 -07:00
2023-06-02 07:04:07 +09:00
2023-11-14 19:52:22 -06:00
2023-06-02 07:04:07 +09:00
2023-06-02 07:04:07 +09:00
2023-06-02 07:04:07 +09:00
2023-08-18 12:35:12 +07:00
2023-06-02 07:04:07 +09:00