How to tell the gender of an ant?

If it sinks, it's a girl ant. If it floats…