Re: Documentation and output of pretty_print()

new topic     » goto parent     » topic index » view thread      » older message » newer message

Robert Craig wrote:

> Juergen Luethje wrote:

<snip>

>> a) Options #5 and #6 can not only take format strings, but those strings
>>    can contain additional text, like in printf(). Very nice! This should
>>    be documented, I certainly had used it before, if I had known it.
>
> I'll mention that in the docs. Thanks.

Thanks.

>> b) Integer values > 30 bit seem to be treated as floating-point numbers.
>>    This is somehow confusing for me. Can this be changed without
>>    drawbacks?
>
> I simply test for integer(). I don't want set up a third
> category for integer values in the 32-bit range.

I don't want that, too. :o)

How about changing the docs from currently
    [6] format to use for floating-point numbers - default: "%.10g"
to something like
    [6] format to use for numbers other than integer() - default: "%.10g"

<snip>

Regards,
   Juergen

new topic     » goto parent     » topic index » view thread      » older message » newer message

Search



Quick Links

User menu

Not signed in.

Misc Menu