On the floor, leave room for expansion and contraction. If the wall tile will hide the gap it isn't necessary to fill with anything. Along the tub leave a gap and caulk it.
On the wall tile, leave your 1/8" gap as planned and caulk it. You could grout that gap and if it cracks come back, remove the cracked grout and then caulk.