XML 45 R33.htm IDEA: XBRL DOCUMENT v3.25.0.1
Earnings Per Share (Tables)
3 Months Ended
Jan. 31, 2025
Earnings Per Share [Abstract]  
Schedule of Reconciliation of the Number of Shares Used for Basic and Diluted Net EPS Calculations
A reconciliation of the number of shares used for basic and diluted net EPS calculations is as follows:
 Three months ended January 31
 20252024
 In millions, except per share amounts
Numerator:
Net earnings$565 $622 
Denominator:
Weighted-average shares used to compute basic net EPS948 995 
Dilutive effect of employee stock plans
Weighted-average shares used to compute diluted net EPS957 1,002 
Net earnings per share:
Basic$0.60 $0.63 
Diluted$0.59 $0.62 
Anti-dilutive weighted-average stock-based compensation awards(1)
(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.