Unsigned arithmetics is enabled by default since some time ago. Multiline comment updated.
This commit is contained in:
parent
49c688f308
commit
3706fe1da1
|
@ -91,7 +91,7 @@ In C, there's nothing that stops you from keeping a pointer to a stack-allocated
|
|||
|
||||
### Unsigned integers
|
||||
|
||||
Nim strongly discourages the use of unsigned integers, as it's considered unnecessary and somewhat unsafe* for most applications. The unsigned types uint, uint8/16/32/64 are available by default, but the arithmetic and binary functions are not defined. If you do need to do arithmetic on unsigned integers, you need to import the **unsigned** module.
|
||||
Nim strongly discourages the use of unsigned integers, as it's considered unnecessary and somewhat unsafe* for most applications.
|
||||
|
||||
*See: http://critical.eschertech.com/2010/04/07/danger-unsigned-types-used-here/
|
||||
|
||||
|
@ -153,9 +153,9 @@ a multi-line comment
|
|||
var x = 3 # more comment
|
||||
</pre>
|
||||
<pre>
|
||||
discard """
|
||||
a multi-line comment
|
||||
"""
|
||||
#[
|
||||
a multi-line comment. #[ may be nested ]#
|
||||
]#
|
||||
#
|
||||
# or maybe this way?
|
||||
#
|
||||
|
|
Loading…
Reference in New Issue