That is the part Claude can handle and actually does. In fact, recently claude automaticaly converted some spline generating code to double precision and did some other refactoring as well after it realized poor results thru tests it generated on its own! I was gobsmacked!
I am shipping sophisticated computer vision code that is more reliable and better tested than ever before. This isn't some vibe coded bullsh*t. This is me writing detailed mathematical specs and it do all the heavy lifting.