mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
[Documentation] Fix typo, formatting in time.c
Backticks do not result in code formatting.
This commit is contained in:
parent
eef3c08edc
commit
bce0021f75
Notes:
git
2021-06-22 20:52:20 +09:00
1 changed files with 2 additions and 2 deletions
4
time.c
4
time.c
|
@ -3458,10 +3458,10 @@ time_to_i(VALUE time)
|
|||
* the exact number of nanoseconds since the Epoch.
|
||||
* (IEEE 754 double has 53bit mantissa.
|
||||
* So it can represent exact number of nanoseconds only in
|
||||
* `2 ** 53 / 1_000_000_000 / 60 / 60 / 24 = 104.2` days.)
|
||||
* <tt>2 ** 53 / 1_000_000_000 / 60 / 60 / 24 = 104.2</tt> days.)
|
||||
* When Ruby uses a nanosecond-resolution clock function,
|
||||
* such as +clock_gettime+ of POSIX, to obtain the current time,
|
||||
* Time#to_f can lost information of a Time object created with +Time.now+.
|
||||
* Time#to_f can lose information of a Time object created with +Time.now+.
|
||||
*/
|
||||
|
||||
static VALUE
|
||||
|
|
Loading…
Reference in a new issue