Minecraft wiki entry for Rail, associated text: If placed to form a 4-way intersection with no curved section, it does not form a cross-roads connection.
If placed between four adjacent rails to form a curved intersection it always curves south-to-east.