ladybird/Userland/Libraries/LibJS/Tests/builtins/Temporal/PlainDateTime
Daniel Bertalan 96b197ef46 LibJS/Temporal: Perform floating point arithmetic in RoundTime
The valid range for temporal values (`nsMinInstant`/`nsMaxInstant`)
means performing nanosecond-valued integers could lead to an overflow.

NB: Only the `roundingMode: "day"` case was affected, as all others were
already performing the division on floating-point `fractional_second`
values. I'm adding `.0` suffixes everywhere to make this fact clearer.

This adds a few local tests as well, as those are tested with sanitizers
enabled by default, unlike test262.
2023-07-01 06:51:25 +02:00
..
PlainDateTime.compare.js
PlainDateTime.from.js
PlainDateTime.js
PlainDateTime.prototype.@@toStringTag.js
PlainDateTime.prototype.add.js
PlainDateTime.prototype.calendar.js
PlainDateTime.prototype.day.js
PlainDateTime.prototype.dayOfWeek.js
PlainDateTime.prototype.dayOfYear.js
PlainDateTime.prototype.daysInMonth.js
PlainDateTime.prototype.daysInWeek.js
PlainDateTime.prototype.daysInYear.js
PlainDateTime.prototype.equals.js
PlainDateTime.prototype.era.js
PlainDateTime.prototype.eraYear.js
PlainDateTime.prototype.getISOFields.js
PlainDateTime.prototype.hour.js
PlainDateTime.prototype.inLeapYear.js
PlainDateTime.prototype.microsecond.js
PlainDateTime.prototype.millisecond.js
PlainDateTime.prototype.minute.js
PlainDateTime.prototype.month.js
PlainDateTime.prototype.monthCode.js
PlainDateTime.prototype.monthsInYear.js
PlainDateTime.prototype.nanosecond.js
PlainDateTime.prototype.round.js
PlainDateTime.prototype.second.js
PlainDateTime.prototype.since.js
PlainDateTime.prototype.subtract.js
PlainDateTime.prototype.toJSON.js
PlainDateTime.prototype.toLocaleString.js
PlainDateTime.prototype.toPlainDate.js
PlainDateTime.prototype.toPlainMonthDay.js
PlainDateTime.prototype.toPlainTime.js
PlainDateTime.prototype.toPlainYearMonth.js
PlainDateTime.prototype.toString.js
PlainDateTime.prototype.toZonedDateTime.js
PlainDateTime.prototype.until.js
PlainDateTime.prototype.valueOf.js
PlainDateTime.prototype.weekOfYear.js
PlainDateTime.prototype.with.js
PlainDateTime.prototype.withCalendar.js
PlainDateTime.prototype.withPlainDate.js
PlainDateTime.prototype.withPlainTime.js
PlainDateTime.prototype.year.js
PlainDateTime.prototype.yearOfWeek.js