Skip to content

Commit

Permalink
perf(temperature): write -x/y as x/-y to prevent expansion
Browse files Browse the repository at this point in the history
  • Loading branch information
jonahsnider committed Mar 15, 2021
1 parent a5551a2 commit 6fb41ff
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/conversions.ts
Original file line number Diff line number Diff line change
Expand Up @@ -561,8 +561,8 @@ export const allUnits = {
rankine: [unitFamilies.Temperature, 5 / 9, 0],
R: [unitFamilies.Temperature, 5 / 9, 0],

delisle: [unitFamilies.Temperature, -2 / 3, 373.15],
De: [unitFamilies.Temperature, -2 / 3, 373.15],
delisle: [unitFamilies.Temperature, 2 / -3, 373.15],
De: [unitFamilies.Temperature, 2 / -3, 373.15],
//#endregion
//#region Time
second: [unitFamilies.Time, 1, 0],
Expand Down

0 comments on commit 6fb41ff

Please sign in to comment.