Beefy Boxes and Bandwidth Generously Provided by pair Networks
Come for the quick hacks, stay for the epiphanies.
 
PerlMonks  

Re^5: [OT] Endianness and extended precision (80-bit) long doubles

by Marshall (Canon)
on Aug 26, 2019 at 16:06 UTC ( [id://11105071]=note: print w/replies, xml ) Need Help??


in reply to Re^4: [OT] Endianness and extended precision (80-bit) long doubles
in thread [OT] Endianness and extended precision (80-bit) long doubles

Yes, this red color gave me pause. Since this D feature appears in 5.8.9, I have no idea what the difference in text color means. Maybe if nobody knows what it means, the red color should be removed as a doc fix?

oh...I see .. perhaps the red means that Perl has to be compiled in a certain way for the feature to "work"? Right now I'm using Perl 25.24 compiled for 64 bit. I suspect that means that long double is available? Almost all of my work is with integers and text. as another "oh...", I remember some benchmark testing that a Phd student did for me from ASM class on float performance with modern Intel processors. There are more transistors in the math unit than in the main CPU. The result was that float operations are about the same as integer ops which surprised me.

  • Comment on Re^5: [OT] Endianness and extended precision (80-bit) long doubles

Replies are listed 'Best First'.
Re^6: [OT] Endianness and extended precision (80-bit) long doubles
by AnomalousMonk (Archbishop) on Aug 26, 2019 at 21:34 UTC
    ... I have no idea what the difference in text color means.

    I strongly suspect this is just a documentation bug. As I wrote here, the red/italic rendering appears at a certain line and continues to the end of the table. The template operators (symbols?) (update: specifiers?) so highlighted include ancient  x X @ operators. This highlighting is present even in the earliest on-line documentation: 5.6.0!

    Update: The red/italic highlighting always appears at the line

    d     A double-precision float in the native format.
    even though the layout of the template specifier table changes over documentation versions so that the number of this line changes: line 46 in 5.6.0; line 41 in 5.30.0. (Update: I also don't see any note in the documentation assigning any special meaning to red and/or italic highlighting.)


    Give a man a fish:  <%-{-{-{-<

      Interestingly, the competing documentation renderer shows no such problems: pack on perldoc.pl.

      map{substr$_->[0],$_->[1]||0,1}[\*||{},3],[[]],[ref qr-1,-,-1],[{}],[sub{}^*ARGV,3]

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://11105071]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others studying the Monastery: (4)
As of 2024-04-25 15:10 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found