Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up

min could settle if one input and the other's upper bound are known #39

Open
@jeshan

Description

@jeshan

I'm wondering if we could we unifyB=A here:

Ain0..100, B #= min(100, A).

returns:

clpz:(B#=min(100,A)),clpz:(A#>=B),clpz:(A in 0..100),clpz:(B in 0..100) ? yes

Especially if A can definitely not be less than 100:

| ?- [A, B] ins 0..100, B #= min(100, A), B#\=A, labeling([], [A,B]).no

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions


      [8]ページ先頭

      ©2009-2025 Movatter.jp