OT: I think you can split N+ in half to separate ibuprofen from codeine anyway...
With regards to the solubility of ibuprofen, I have these figures:
I'm not sure why the reference in Cowboy Mac's post says 0.8g in 100g water for codeine. The Codeine FAQ at Erowid and several other internet sites quotes the solubility of codeine as "1g in 2.3mL water @31C" and "1g in 0.7mL water @21C", which closely matches those figures from the Codeine Information page. I guess the inference is that they are discussing codeine phosphate as is found in a majority of tablets one might want to use for cold water extraction.
Solubility of miscellaneous substances in 100ml of pure water
Name 31°C water 21°C water
Aspirin 1g 0.33g
Ibuprofen <1g <1g
Paracetamol 1.43g 0.66g
Codeine 43.48g 142.86g
[REF: The Codeine Information - courtesy of Desox]
This makes me lean more toward the figures listed in the FAQs (although 1g per 0.7mL is significantly more than 10g/100mL). I don't think we'll go far wrong in assuming codeine phosphate is far more soluble than paracetamol or ibuprofen in cold water. After all, this is why the cold water extraction does work.
Codeine Phosphate [52-28-8]
(5alpha,6alpha)-7,8-didehydro-4,5-epoxy-3-methoxy-17-methylmorphinan-6-ol phosphate (1:1) (salt) hemihydrate; 7,8-didehydro-4,5-alpha-epoxy-3-methoxy-17-methyl-morphinan-6-alpha-ol phosphate (1:1); Codeine phosphate;
Formula: C18 H24 N O7 P
CAS Number: 52-28-8
ACX Number: X1008233-2
Appearance: Small colorless crystals or white crystalline powder
Molecular Weight: 397.36386
Melting Point: 220 - 235 C
Water solubility: >=10 g/100 mL at 16 C