XML 57 R31.htm IDEA: XBRL DOCUMENT v3.22.0.1
Net Earnings Per Share (Tables)
3 Months Ended
Jan. 31, 2022
Earnings Per Share [Abstract]  
Basic and Diluted Net Earnings Per Share Calculations
A reconciliation of the number of shares used for basic and diluted net EPS calculations is as follows:
 Three months ended January 31
 20222021
 In millions, except per share amounts
Numerator:  
Net earnings$1,086 $1,068 
Denominator:  
Weighted-average shares used to compute basic net EPS1,081 1,285 
Dilutive effect of employee stock plans13 8 
Weighted-average shares used to compute diluted net EPS1,094 1,293 
Net earnings per share:  
Basic$1.00 $0.83 
Diluted$0.99 $0.83 
Anti-dilutive weighted-average stock-based compensation awards(1)
3 4 
(1)HP excludes from the calculation of diluted net EPS stock options and restricted stock units where the assumed proceeds exceed the average market price, because their effect would be anti-dilutive. The assumed proceeds of a stock option include the sum of its exercise price, and average unrecognized compensation cost. The assumed proceeds of a restricted stock unit represent unrecognized compensation cost.