Requires N:M mapping, but a somewhat weird case of it

This mapping is unfinished: 15 of 369 nodes are still unmarked.

Code view:

A painting is a person's account of this edit as text, recorded independently of the node mapping - a rendering often has several equally defensible answers where the mapping has one. Deletions and insertions carry no position on the opposite side in a painting, so that panel draws no caret for them.

Before

…lines 1–5 unchanged (5 lines)
6//! - `y` if `y > x`
7//! - +0.0 if x and y are zero with opposite signs
8//! - Either `x` or `y` if `x == y` and the signs are the same
9//! - Non-NaN if one operand is NaN
10//! - qNaN if both operands are NaNx
11//!
12//! Excluded from our implementation is sNaN handling.
13
14use crate::support::Float;
15
16#[inline]
17pub fn fmaximum_num<F: Float>(x: F, y: F) -> F {
18 let res = if x > y || y.is_nan() {
…lines 19–30 unchanged (12 lines)

After

…lines 1–5 unchanged (5 lines)
6//! - `y` if `y > x`
7//! - +0.0 if x and y are zero with opposite signs
8//! - Either `x` or `y` if `x == y` and the signs are the same
9//! - Non-NaN if one operand is NaN
10//! - qNaN if both operands are NaNx
11//!
12//! Note that the IEEE 754-2019 specifies that a sNaN in either argument should signal invalid,
13//! but we do not implement this.
14
15use crate::support::Float;
16
17#[inline]
18pub fn fmaximum_num<F: Float>(x: F, y: F) -> F {
19 let res = if x > y || y.is_nan() {
…lines 20–31 unchanged (12 lines)

Before

source_file
block_comment
/* "/*"
*/ "*/"
line_comment
// "//"
inner_doc_comment_marker
! "!"
doc_comment " IEEE 754-2019 `maximumNumber`.\n"
line_comment
// "//"
inner_doc_comment_marker
! "!"
doc_comment "\n"
line_comment
// "//"
inner_doc_comment_marker
! "!"
doc_comment " Per the spec, returns:\n"
line_comment
// "//"
inner_doc_comment_marker
! "!"
doc_comment " - `x` if `x > y`\n"
line_comment
// "//"
inner_doc_comment_marker
! "!"
doc_comment " - `y` if `y > x`\n"
line_comment
// "//"
inner_doc_comment_marker
! "!"
doc_comment " - +0.0 if x and y are zero with opposite signs\n"
line_comment
// "//"
inner_doc_comment_marker
! "!"
doc_comment " - Either `x` or `y` if `x == y` and the signs are the same\n"
line_comment
// "//"
inner_doc_comment_marker
! "!"
doc_comment " - Non-NaN if one operand is NaN\n"
line_comment
// "//"
inner_doc_comment_marker
! "!"
doc_comment " - qNaN if both operands are NaNx\n"
line_comment
// "//"
inner_doc_comment_marker
! "!"
doc_comment "\n"
line_comment
// "//"
inner_doc_comment_marker
! "!"
doc_comment " Excluded from our implementation is sNaN handling.\n"
use_declaration
use "use"
scoped_identifier
scoped_identifier
crate "crate"
:: "::"
identifier "support"
:: "::"
identifier "Float"
; ";"
attribute_item
# "#"
[ "["
attribute
identifier "inline"
] "]"
function_item (+107 nodes collapsed)

After

source_file
block_comment
/* "/*"
*/ "*/"
line_comment
// "//"
inner_doc_comment_marker
! "!"
doc_comment " IEEE 754-2019 `maximumNumber`.\n"
line_comment
// "//"
inner_doc_comment_marker
! "!"
doc_comment "\n"
line_comment
// "//"
inner_doc_comment_marker
! "!"
doc_comment " Per the spec, returns:\n"
line_comment
// "//"
inner_doc_comment_marker
! "!"
doc_comment " - `x` if `x > y`\n"
line_comment
// "//"
inner_doc_comment_marker
! "!"
doc_comment " - `y` if `y > x`\n"
line_comment
// "//"
inner_doc_comment_marker
! "!"
doc_comment " - +0.0 if x and y are zero with opposite signs\n"
line_comment
// "//"
inner_doc_comment_marker
! "!"
doc_comment " - Either `x` or `y` if `x == y` and the signs are the same\n"
line_comment
// "//"
inner_doc_comment_marker
! "!"
doc_comment " - Non-NaN if one operand is NaN\n"
line_comment
// "//"
inner_doc_comment_marker
! "!"
doc_comment " - qNaN if both operands are NaNx\n"
line_comment
// "//"
inner_doc_comment_marker
! "!"
doc_comment "\n"
line_comment
// "//"
inner_doc_comment_marker
! "!"
doc_comment " Note that the IEEE 754-2019 specifies that a sNaN in either"...
line_comment
// "//"
inner_doc_comment_marker
! "!"
doc_comment " but we do not implement this.\n"
use_declaration
use "use"
scoped_identifier
scoped_identifier
crate "crate"
:: "::"
identifier "support"
:: "::"
identifier "Float"
; ";"
attribute_item
# "#"
[ "["
attribute
identifier "inline"
] "]"
function_item (+107 nodes collapsed)