Japanese yen nears four-decade low