Japanese optical rangefinders and fire control systems were superior to American. Their rangefinders had a much wider baseline than ours.
American RADAR rangefinders and fire control systems were the best in the world, bar none, and far exceeded the effectiveness of the Japanese optical systems. We put RADAR fire control on any ship that could support it ... which, by 1944, meant every warship in the fleet.
Bismarck had radar controlled fire systems but no carriers to help.
Yamato and Musashi had a greater gun range but had no way of determining position, direction, and speed if the target was not visible.