public inbox for binutils@sourceware.org
 help / color / mirror / Atom feed
* [PATCH] gas/doc/as.texinfo: correct decimal integer example in documentation
@ 2014-03-03  5:50 Chris Dituri
  2014-03-03  8:35 ` Tristan Gingold
  0 siblings, 1 reply; 2+ messages in thread
From: Chris Dituri @ 2014-03-03  5:50 UTC (permalink / raw)
  To: binutils; +Cc: Chris Dituri

When reading the gas documentation I noticed that the decimal integer
example contradicted its definition:

  "A decimal integer starts with a non-zero digit [...]"


Regards,
Chris

---
 gas/doc/as.texinfo | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/gas/doc/as.texinfo b/gas/doc/as.texinfo
index 739b5b9..d7db02b 100644
--- a/gas/doc/as.texinfo
+++ b/gas/doc/as.texinfo
@@ -2916,7 +2916,7 @@ digits (@samp{01234567}).
 @cindex decimal integers
 @cindex integers, decimal
 A decimal integer starts with a non-zero digit followed by zero or
-more digits (@samp{0123456789}).
+more digits (@samp{1234567890}).
 
 @cindex hexadecimal integers
 @cindex integers, hexadecimal
-- 
1.8.4.1

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [PATCH] gas/doc/as.texinfo: correct decimal integer example in documentation
  2014-03-03  5:50 [PATCH] gas/doc/as.texinfo: correct decimal integer example in documentation Chris Dituri
@ 2014-03-03  8:35 ` Tristan Gingold
  0 siblings, 0 replies; 2+ messages in thread
From: Tristan Gingold @ 2014-03-03  8:35 UTC (permalink / raw)
  To: Chris Dituri; +Cc: binutils


On 03 Mar 2014, at 06:46, Chris Dituri <csdituri@gmail.com> wrote:

> When reading the gas documentation I noticed that the decimal integer
> example contradicted its definition:
> 
>  "A decimal integer starts with a non-zero digit [...]"

I read (@samp{0123456789}) as definition of a digit, so when I first read
your patch, I didn't see the real change.

Maybe we all know what is a digit, but we also know what is a decimal integer.
But this definition of decimal integer is not the usual one (ie doesn't follow
the math one).

So, I think you should change that sentence but clarify wether the @samp is
an example or a definition.

Tristan.

> 
> 
> Regards,
> Chris
> 
> ---
> gas/doc/as.texinfo | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/gas/doc/as.texinfo b/gas/doc/as.texinfo
> index 739b5b9..d7db02b 100644
> --- a/gas/doc/as.texinfo
> +++ b/gas/doc/as.texinfo
> @@ -2916,7 +2916,7 @@ digits (@samp{01234567}).
> @cindex decimal integers
> @cindex integers, decimal
> A decimal integer starts with a non-zero digit followed by zero or
> -more digits (@samp{0123456789}).
> +more digits (@samp{1234567890}).
> 
> @cindex hexadecimal integers
> @cindex integers, hexadecimal
> -- 
> 1.8.4.1
> 

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2014-03-03  8:35 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-03-03  5:50 [PATCH] gas/doc/as.texinfo: correct decimal integer example in documentation Chris Dituri
2014-03-03  8:35 ` Tristan Gingold

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).