in reply to Hex floating point format specifier?

I've got this recollection of there being a hex floating format specifier for s/printf; which I've never had a use for; but now I have, I cannot find any reference to it.

Did I imagine it? Is it a recollection from some other language?

perlfunc from 5.22 documents %a as "hexadecimal floating point", and %A as "like %a, but using upper-case letters". 5.18 does not know about %a and %A.

Update: Listed as new feature in perldelta from 5.22.0.

Alexander

--
Today I will gladly share my knowledge and experience, for there are no sweeter words than "I told you so". ;-)

Replies are listed 'Best First'.
Re^2: Hex floating point format specifier?
by BrowserUk (Patriarch) on Jun 17, 2015 at 19:36 UTC

    Thanks afoken (and anonymonk). I'd begun to think I'd imagined it. I didn't think to look there (5.22) because it seems like a much older memory.


    With the rise and rise of 'Social' network sites: 'Computers are making people easier to use everyday'
    Examine what is said, not who speaks -- Silence betokens consent -- Love the truth but pardon error.
    "Science is about questioning the status quo. Questioning authority". I'm with torvalds on this
    In the absence of evidence, opinion is indistinguishable from prejudice. Agile (and TDD) debunked