Some BIOSes have had a “Format to 1 bit” option which would forceably write each bit since even a format can leave “shadow” data. Not an issue if you are hiding files from a 15-year odl, but if you are trying to hide your clandestine activities from the NSA it might come in handy
For a Windows machine, why not use Microsoft’s own tool, delpart.exe to delete the partition before using fdisk?
There’s also KillDisk.
Security is relative (pun intended).