Turbo tax calculating Foreign tax credit incorrectly

form 1116 line 18 states Individuals: Enter the amount from line 15 of your Form 1040, 1040-SR, or
1040-NR.

 

the number used in form line 18 of form 1116 DOES NOT match 1040 line 15 'Subtract line 14 from line 11. If zero or less, enter -0-. This is your taxable income'

 

The number inserted by turbo tax into line 18 form 1116 can not be found in any government or turbo tax worksheet.  The number inserted only appears in the passive income 1116 and general income 1116 forms