BluCloudEngineer/UWA-Workflows-in-GitHub-2023

Add log2 logic to the application

開放

#34 建立於 2023年8月22日

 (0 則留言) (0 個反應) (0 位負責人)Python (40 個分叉)auto 404
enhancementhelp wanted

倉庫指標

星標
 (0 顆星)
PR 合併指標
 (PR 指標待抓取)

描述

New Feature Request

New Feature Checklist

Before submitting a new feature, please view the currently requested features here. If your feature has not been submitted, please complete this report:

  • I have checked the GitHub issues tracker and my feature has NOT been previously submitted.
  • This report is for a single feature only, I will create a new report for additional features.

Describe the New Feature

I want to add logic to the calculator application so that when one number is provided, it will calculate the log base 2 of the value.

For example, if the following POST data is sent to the application:

data = {
    "operation": "log2",
    "number_1": 128, # Key and value required
    "number_2": None # Key must be supplied but its value is not used
}

The result will be:

Result: 7.0

Describe Why the New Feature Should be Added

This task is required for next release for the customer.

Screenshots

Not applicable

Additional Notes

Not applicable

貢獻者指南